diff options
author | Andrew Dolgov <[email protected]> | 2007-08-19 05:30:56 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-19 05:30:56 +0100 |
commit | 672f3f3c0a1b1ee65a010f48b3b3a156d3cb0c5e (patch) | |
tree | dbe6c11e96c3269deba3380a19dc862a5d19c752 /functions.php | |
parent | 730a6264be2c7ef520bc86a6c63c0d8df61b3b82 (diff) |
fix enabling appropriate translation automatically
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
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"]; } |