Fix to consider stand alone option as well

This commit is contained in:
Ilia Ross
2023-09-29 15:32:07 +03:00
parent 9a1e869a82
commit 3a099fabec
2 changed files with 4 additions and 2 deletions

View File

@@ -14,7 +14,9 @@ my $err = sub {
};
# Check if in debug mode
&$err("Debug mode is not enabled!")
if (!$gconfig{'error_stack'} && !$gconfig{'debug_enabled'});
if (!$gconfig{'error_stack'} &&
!$gconfig{'debug_enabled'} &&
!$gconfig{'debug_theme_switcher'});
# Check if allowed to change theme,
# otherwise throw an error
if (!&foreign_available('theme') &&