summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-02-06 00:11:35 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-02-06 00:11:35 +0000
commitced3c4a89470d47d793f4cc5cad211afc6129977 (patch)
treea7920f50454fab63b5321b373ddff507136f7809 /modules
parent8cfce8b3a080c87c0008abd899302e33333a126f (diff)
downloadthemes-ced3c4a89470d47d793f4cc5cad211afc6129977.tar.gz
themes-ced3c4a89470d47d793f4cc5cad211afc6129977.tar.bz2
themes-ced3c4a89470d47d793f4cc5cad211afc6129977.zip
more preference standardisation
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_switch_theme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mod_switch_theme.php b/modules/mod_switch_theme.php
index 4e6d2ac..00cf665 100644
--- a/modules/mod_switch_theme.php
+++ b/modules/mod_switch_theme.php
@@ -7,7 +7,7 @@ if( $change_theme == 'y' ) {
if (isset($_COOKIE['tiki-theme'])) {
$style = $_COOKIE['tiki-theme'];
}
- if ($gBitUser->isValid() && $gBitSystem->getPreference('feature_userPreferences') == 'y') {
+ if ($gBitUser->isValid() && $gBitSystem->getPreference('feature_user_preferences') == 'y') {
$userStyle = $gBitUser->getPreference('theme');
$style = empty($userStyle) ? $style : $userStyle;
}