diff options
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php index b3130104b..c39b4938c 100644 --- a/include/functions.php +++ b/include/functions.php @@ -97,8 +97,8 @@ $lang = _TRANSLATION_OVERRIDE_DEFAULT; } - if ($_SESSION["uid"]) { - $pref_lang = get_pref("USER_LANGUAGE", $_SESSION["uid"], false); + if ($_SESSION["uid"] && get_schema_version() >= 120) { + $pref_lang = get_pref("USER_LANGUAGE", $_SESSION["uid"]); if ($pref_lang) { $lang = $pref_lang; |