From: Andrew Dolgov Date: Sun, 19 Aug 2007 04:30:56 +0000 (+0100) Subject: fix enabling appropriate translation automatically X-Git-Tag: 1.2.14~30 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=672f3f3c0a1b1ee65a010f48b3b3a156d3cb0c5e;p=tt-rss.git fix enabling appropriate translation automatically --- diff --git a/functions.php b/functions.php index 0f9694ed..31fcd6f4 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"]; }