From: hickert Date: Mon, 7 Nov 2011 10:01:32 +0000 (+0000) Subject: Fixed problem with objects that did not get closed by a click on the menu. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=34775bbd070e0802cc0019c9d713812e90c517f7;p=gosa.git Fixed problem with objects that did not get closed by a click on the menu. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@21044 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index afb381c18..880e5dca0 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -272,7 +272,8 @@ $remove_lock= FALSE; /* Check if we have changed the selected plugin */ -if($old_plugin_dir != $plugin_dir && $old_plugin_dir != ""){ +if(($old_plugin_dir != $plugin_dir && $old_plugin_dir != "") || + (isset($_GET['reset']) && $_GET['reset'] == 1)){ if (is_file("$old_plugin_dir/main.inc")){ $cleanup = $remove_lock = TRUE; require ("$old_plugin_dir/main.inc");