diff --git a/include/ac_common.php b/include/ac_common.php index fea039ebb..ed3c4682a 100644 --- a/include/ac_common.php +++ b/include/ac_common.php @@ -648,6 +648,7 @@ function set_language() { // desactivate local check if ( defined("LOCALE") && LOCALE==0 ) return; + if ( ! isset ($_SESSION['g_lang'])) return; $dir = ""; // set differently the language depending of the operating system if (what_os() == 1) @@ -779,8 +780,8 @@ function ajax_disconnected($div) $html = $script; $html.=HtmlInput::anchor_close($div); $html.='