summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-06-06 23:37:03 +0400
committerAndrew Dolgov <[email protected]>2013-06-06 23:37:03 +0400
commit5a8d8a87e5ec82c1fad24d7a2f9abc386366aff3 (patch)
tree7c185847b56ac5e15b849ca8121575c712d3c754
parentf890372a14463399a22c744c75d45124d70d474f (diff)
parent97b5ec8c25eeeca2a4bb47d678071bfeda5cee0e (diff)
Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS
-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;
}
}