From 672f3f3c0a1b1ee65a010f48b3b3a156d3cb0c5e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 19 Aug 2007 05:30:56 +0100 Subject: [PATCH] fix enabling appropriate translation automatically --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]; } -- 2.39.5