From 4321e4959fc76061816b919a14b1e7f42448134b Mon Sep 17 00:00:00 2001 From: Nicolas Date: Mon, 16 Nov 2020 17:22:26 +0100 Subject: [PATCH] Fix : debug mode --- modules/settings/class/class-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,