mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 00:25:56 +00:00
db_prefs: return null if requested key is unset
This commit is contained in:
@@ -93,6 +93,8 @@ class Db_Prefs {
|
||||
} else if ($die_on_error) {
|
||||
user_error("Fatal error, unknown preferences key: $pref_name (owner: $user_id)", E_USER_ERROR);
|
||||
return null;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user