diff --git a/modules/settings/class/class-settings.php b/modules/settings/class/class-settings.php index ff3b469..109e81b 100644 --- a/modules/settings/class/class-settings.php +++ b/modules/settings/class/class-settings.php @@ -121,7 +121,7 @@ protected function construct() { */ public function display_general( $section = '' ) { $dolibarr_option = get_option( 'wps_dolibarr', $this->default_settings ); - $debug_mode = get_option( 'debug_mode', $this->default_settings ); + $debug_mode = get_option( 'debug_mode', $this->default_settings['debug_mode'] ); View_Util::exec( 'wpshop', 'settings', 'general', array( 'debug_mode' => $debug_mode,