1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 08:25:57 +00:00

fix enabling appropriate translation automatically

This commit is contained in:
Andrew Dolgov
2007-08-19 05:30:56 +01:00
parent 730a6264be
commit 672f3f3c0a

View 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"];
}