From 1389501e95baa2404248c6d24df6cb43c1f7b7ca Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 17 Feb 2013 16:07:07 +0400 Subject: [PATCH] only override al2gt() locale setting if saved session language is not auto --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index 981ed595..2dc34261 100644 --- a/include/functions.php +++ b/include/functions.php @@ -76,7 +76,7 @@ /* In login action of mobile version */ if ($_POST["language"] && defined('MOBILE_VERSION')) { $lang = $_POST["language"]; - } else { + } else if ($_SESSION["language"] && $_SESSION["language"] != "auto") { $lang = $_SESSION["language"]; } -- 2.39.5