Skip to content

Commit

Permalink
Fix Debug Log is not working on new installs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuesken committed Jan 17, 2025
1 parent 520ad5e commit 5465e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Settings/SettingsModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function services(): array
return $settingsHelper->isTestModeEnabled();
},
'settings.IsDebugEnabled' => static function (): bool {
$debugEnabled = get_option('mollie-payments-for-woocommerce_debug', true);
$debugEnabled = get_option('mollie-payments-for-woocommerce_debug', 'yes');
return $debugEnabled === 'yes';
},
'settings.advanced_default_options' => static function (ContainerInterface $container) {
Expand Down

0 comments on commit 5465e81

Please sign in to comment.