Merge pull request #217 from ldidry/master
Fix automatic language detection for registered users
This commit is contained in:
commit
97b5ec8c25
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue