From: cajus Date: Wed, 16 Jan 2008 15:12:49 +0000 (+0000) Subject: Fixed menu reloading X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=36d6bda3b848873e8531f725e12b45fc31e962e7;p=gosa.git Fixed menu reloading git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8401 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index fda4f5b6f..be0b72869 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -112,7 +112,7 @@ if(!session::is_set('Last_init_lang')){ /* If last language != current force navi reload */ $lang= get_browser_language(); -if(session::get('Last_init_lang',$lang)){ +if(session::get('Last_init_lang') != $lang){ $reload_navigation = true; } @@ -285,7 +285,7 @@ $smarty->assign ("go_help", get_template_path('images/help.png')); /* reload navigation if language changed*/ if($reload_navigation){ - $plist->menu="";; + $plist->menu=""; } $plist->gen_headlines(); $plist->gen_menu();