Merge pull request #217 from ldidry/master

Fix automatic language detection for registered users
master
Andrew Dolgov 12 years ago
commit 97b5ec8c25

@ -100,7 +100,7 @@
if ($_SESSION["uid"] && get_schema_version() >= 120) {
$pref_lang = get_pref("USER_LANGUAGE", $_SESSION["uid"]);
if ($pref_lang) {
if ($pref_lang && $pref_lang != 'auto') {
$lang = $pref_lang;
}
}

Loading…
Cancel
Save