projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
handling of boolean constants improved (not fully)
[mailer.git]
/
inc
/
theme-manager.php
diff --git
a/inc/theme-manager.php
b/inc/theme-manager.php
index 81e2fadfbc9a7dfdbd23ae7c4361de23cd47baa9..d591bbbfcd76967a8e51d270b1afa5f332df1e4b 100644
(file)
--- a/
inc/theme-manager.php
+++ b/
inc/theme-manager.php
@@
-61,7
+61,7
@@
function GET_CURR_THEME() {
// Free memory
SQL_FREERESULT($result);
// Free memory
SQL_FREERESULT($result);
- } elseif ((!
mxchange_installed) && ((mxchange_installing
) || ($CSS == true)) && ((!empty($_GET['theme'])) || (!empty($_POST['theme'])))) {
+ } elseif ((!
isBooleanConstantAndTrue('mxchange_installed')) && ((isBooleanConstantAndTrue('mxchange_installing')
) || ($CSS == true)) && ((!empty($_GET['theme'])) || (!empty($_POST['theme'])))) {
// Prepare FQFN for checking
$theme = sprintf("%stheme/%s/theme.php", PATH, $_GET['theme']);
// Prepare FQFN for checking
$theme = sprintf("%stheme/%s/theme.php", PATH, $_GET['theme']);