mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:35:57 +00:00
use constants in get_pref()/set_pref()
This commit is contained in:
@@ -140,7 +140,7 @@
|
||||
}
|
||||
|
||||
if (!empty($_SESSION["uid"]) && get_schema_version() >= 120) {
|
||||
$pref_locale = get_pref("USER_LANGUAGE", $_SESSION["uid"]);
|
||||
$pref_locale = get_pref(Prefs::USER_LANGUAGE, $_SESSION["uid"]);
|
||||
|
||||
if (!empty($pref_locale) && $pref_locale != 'auto') {
|
||||
$selected_locale = $pref_locale;
|
||||
|
||||
Reference in New Issue
Block a user