mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:45:56 +00:00
db prefs: ignore cache when preference requested for specified UID (in case cached value of a different profile is stored)
prefs: show (and set) enabled plugins for default profile only
This commit is contained in:
@@ -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"]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user