summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 77725fa98..2f288737e 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -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;
}
}