You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -3005,12 +3012,12 @@ function get_protocol_prefix()
3005
3012
functionget_langid_from_langcookie($lang = '')
3006
3013
{
3007
3014
if (empty($lang)) {
3008
-
global$CURLANGDIR;
3009
-
$lang = $CURLANGDIR;
3015
+
$lang = get_langfolder_cookie();
3010
3016
}
3011
-
3012
-
$row = mysql_fetch_array(sql_query("SELECT id FROM language WHERE site_lang = 1 AND site_lang_folder = " . sqlesc($lang) . "ORDER BY id ASC")) orsqlerr(__FILE__, __LINE__);
// $row = mysql_fetch_array(sql_query("SELECT id FROM language WHERE site_lang = 1 AND site_lang_folder = " . sqlesc($lang) . "ORDER BY id ASC")) or sqlerr(__FILE__, __LINE__);
0 commit comments