1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:45:56 +00:00

db-prefs: better error output for missing prefs, digest: hide DIGEST_ENABLE pref missing for unitialized users

This commit is contained in:
Andrew Dolgov
2013-05-16 21:57:39 +04:00
parent 6e098e5e8c
commit 6a51939ee6
2 changed files with 2 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ class Db_Prefs {
return $this->convert($value, $type_name);
} else {
user_error("Fatal error, unknown preferences key: $pref_name", $die_on_error ? E_USER_ERROR : E_USER_WARNING);
user_error("Fatal error, unknown preferences key: $pref_name (owner: $user_id)", $die_on_error ? E_USER_ERROR : E_USER_WARNING);
return null;
}
}