// Merge -> revision 8342

This commit is contained in:
rMalie
2011-09-05 14:56:02 +00:00
parent d84373e4d3
commit 3d89058084
46 changed files with 1299 additions and 249 deletions
+3 -2
View File
@@ -95,9 +95,9 @@ class LanguageManager
*/
private function setLanguage()
{
if ( !empty($_GET['language']))
if (isset($_GET['language']))
$id_lang = (int)($_GET['language'])>0 ? $_GET['language'] : 0;
if (empty($id_lang))
if (!isset($id_lang))
$id_lang = ($this->getIdByHAL());
$this->lang = $this->xml_file->lang[(int)($id_lang)];
}
@@ -107,3 +107,4 @@ class LanguageManager
return ($this->lang == NULL) ? false : dirname(__FILE__).$this->lang['trad_file'];
}
}