]> git.wh0rd.org - tt-rss.git/commitdiff
fix enabling appropriate translation automatically
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 19 Aug 2007 04:30:56 +0000 (05:30 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 19 Aug 2007 04:30:56 +0000 (05:30 +0100)
functions.php

index 0f9694edac0d0afb9381ee13c912499b04301d4e..31fcd6f4680a5ae9313059a150a39a5f89e7c74b 100644 (file)
@@ -32,7 +32,7 @@
                                $lang = _TRANSLATION_OVERRIDE_DEFAULT;
                        }
 
-                       if ($_COOKIE["ttrss_lang"]) {
+                       if ($_COOKIE["ttrss_lang"] && $_COOKIE["ttrss_lang"] != "auto") {                               
                                $lang = $_COOKIE["ttrss_lang"];
                        }