summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-03-27 16:20:12 +0000
committerlsces <lester@lsces.co.uk>2026-03-27 16:20:12 +0000
commitc66de8418bf1e420bfcc1bf73dec41b296e32c6f (patch)
tree630c56081075d3da30fa599581e39567e0924c32 /modules
parent47419457b6655bc682297dffb7b523152ab6da67 (diff)
downloadthemes-c66de8418bf1e420bfcc1bf73dec41b296e32c6f.tar.gz
themes-c66de8418bf1e420bfcc1bf73dec41b296e32c6f.tar.bz2
themes-c66de8418bf1e420bfcc1bf73dec41b296e32c6f.zip
Figured what has been causing a problem with using && and || in smarty templates and related to mistake in processing {2} elements that should use curly brackets and not revert to square ones.
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_switch_theme.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mod_switch_theme.tpl b/modules/mod_switch_theme.tpl
index e8bd1d3..235cb78 100644
--- a/modules/mod_switch_theme.tpl
+++ b/modules/mod_switch_theme.tpl
@@ -11,7 +11,7 @@
{/form}
{/if}
- {if $change_theme neq 'y' and $gBitUser->isAdmin()}
+ {if $change_theme neq 'y' && $gBitUser->isAdmin()}
{tr}This feature has to be enabled via Admin &gt; User Settings.{/tr}
{/if}