From 36d6bda3b848873e8531f725e12b45fc31e962e7 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 16 Jan 2008 15:12:49 +0000 Subject: [PATCH] Fixed menu reloading git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8401 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.30.2