Skip to content

Commit

Permalink
Merge pull request #2779 from woocommerce/fix/2778
Browse files Browse the repository at this point in the history
fix undefined SETTING_ENABLE_DEBUG_MODE
  • Loading branch information
rawdreeg authored Aug 8, 2024
2 parents df03a97 + bba9ecb commit 8a1f523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Lifecycle.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ protected function upgrade_to_2_0_0() {
'messenger_locale' => self::SETTING_MESSENGER_LOCALE,
'messenger_greeting' => self::SETTING_MESSENGER_GREETING,
'messenger_color_hex' => self::SETTING_MESSENGER_COLOR_HEX,
'enable_debug_mode' => self::SETTING_ENABLE_DEBUG_MODE,
'enable_debug_mode' => \WC_Facebookcommerce_Integration::SETTING_ENABLE_DEBUG_MODE,
);
foreach ( $settings_map as $old_name => $new_name ) {
if ( ! empty( $settings[ $old_name ] ) ) {
Expand Down

0 comments on commit 8a1f523

Please sign in to comment.