db-prefs: use user_error

master
Andrew Dolgov 12 years ago
parent 3f6f085769
commit c1e45a87b2

@ -97,7 +97,7 @@
} else {
if ($die_on_error) {
die("Fatal error, unknown preferences key: $pref_name");
user_error("Fatal error, unknown preferences key: $pref_name", E_USER_ERROR);
} else {
return null;
}

Loading…
Cancel
Save