From 0abf0ecf8335eb2d8ac5f875b2a0448e5a78ad74 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 12 Nov 2007 09:02:04 +0000 Subject: [PATCH] Fixed saving for new devices git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7768 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_systemManagement.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.30.2