diff --git a/classes/db/prefs.php b/classes/db/prefs.php index 188076134..fbe7e0eea 100644 --- a/classes/db/prefs.php +++ b/classes/db/prefs.php @@ -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; } }