diff --git a/classes/db/prefs.php b/classes/db/prefs.php index 26562298..d61cc107 100644 --- a/classes/db/prefs.php +++ b/classes/db/prefs.php @@ -67,7 +67,7 @@ class Db_Prefs { $user_id = sprintf("%d", $user_id); } - if (isset($this->cache[$pref_name])) { + if (isset($this->cache[$pref_name]) && !$user_id) { $tuple = $this->cache[$pref_name]; return $this->convert($tuple["value"], $tuple["type"]); } diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 0e58a34e..f003ba02 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -739,7 +739,7 @@ class Pref_Prefs extends Handler_Protected {