From: hickert Date: Mon, 12 Nov 2007 09:02:04 +0000 (+0000) Subject: Fixed saving for new devices X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0abf0ecf8335eb2d8ac5f875b2a0448e5a78ad74;p=gosa.git Fixed saving for new devices git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7768 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc index 77c6eb364..abf282cd5 100644 --- a/plugins/admin/systems/class_systemManagement.inc +++ b/plugins/admin/systems/class_systemManagement.inc @@ -517,7 +517,6 @@ class systems extends plugin if(isset($_SESSION['SelectedSystemType'])){ $SelectedSystemType= $_SESSION['SelectedSystemType']; - unset($_SESSION['SelectedSystemType']); if($SelectedSystemType['ogroup'] != "none"){ $og = new ogroup($this->config,$SelectedSystemType['ogroup']); if($og){ @@ -543,6 +542,7 @@ class systems extends plugin gosa_log ("System object'".$this->dn."' has been saved"); if(isset($_SESSION['SelectedSystemType'])){ + unset($_SESSION['SelectedSystemType']); if(!isset($ldap)){ $ldap = $this->config->get_ldap_link(); }