summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-19 05:30:56 +0100
committerAndrew Dolgov <[email protected]>2007-08-19 05:30:56 +0100
commit672f3f3c0a1b1ee65a010f48b3b3a156d3cb0c5e (patch)
treedbe6c11e96c3269deba3380a19dc862a5d19c752
parent730a6264be2c7ef520bc86a6c63c0d8df61b3b82 (diff)
fix enabling appropriate translation automatically
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 0f9694eda..31fcd6f46 100644
--- a/functions.php
+++ b/functions.php
@@ -32,7 +32,7 @@
$lang = _TRANSLATION_OVERRIDE_DEFAULT;
}
- if ($_COOKIE["ttrss_lang"]) {
+ if ($_COOKIE["ttrss_lang"] && $_COOKIE["ttrss_lang"] != "auto") {
$lang = $_COOKIE["ttrss_lang"];
}