Skip to content

Commit

Permalink
Fix : debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDOMENECH committed Nov 16, 2020
1 parent d452a36 commit 4321e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/settings/class/class-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4321e49

Please sign in to comment.