diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/controls_compat.php | 2 | ||||
-rw-r--r-- | include/functions.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/controls_compat.php b/include/controls_compat.php index d62265471..a4e9ad73f 100644 --- a/include/controls_compat.php +++ b/include/controls_compat.php @@ -128,7 +128,7 @@ function print_feed_multi_select($id, $default_ids = [], } } - if (get_pref('ENABLE_FEED_CATS')) { + if (get_pref(Prefs::ENABLE_FEED_CATS)) { if (!$root_id) $root_id = null; diff --git a/include/functions.php b/include/functions.php index 8e819fac0..a26ea6fca 100644 --- a/include/functions.php +++ b/include/functions.php @@ -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; |