From: hickert Date: Wed, 1 Mar 2006 05:15:51 +0000 (+0000) Subject: Prevent "reload errors" , X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d61941719da083ebb245965438779b63da613d86;p=gosa.git Prevent "reload errors" , "showning own lock message caused by reloading edit post" , "prevent displaying broken objects " git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2782 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc index 7fbd4b428..ed3e70dc1 100644 --- a/plugins/admin/systems/class_systemManagement.inc +++ b/plugins/admin/systems/class_systemManagement.inc @@ -334,7 +334,8 @@ class systems extends plugin ********************/ /* User wants to edit data? */ - if ($s_action == "edit"){ +// if ($s_action == "edit"){ + if (($s_action == "edit") && (!isset($this->systab->config))){ $this->dn= $this->terminals[$s_entry]['dn']; @@ -615,7 +616,7 @@ class systems extends plugin /* Finish user edit is triggered by the tabulator dialog, so the user wants to save edited data. Check and save at this point. */ - if (isset($_POST['edit_finish'])){ + if ((isset($_POST['edit_finish'])) && (isset($this->systab->config))){ /* Check tabs, will feed message array */ $message= $this->systab->check(); @@ -709,7 +710,7 @@ class systems extends plugin ********************/ /* Show tab dialog if object is present */ - if ($this->systab){ + if (isset($this->systab->config)){ $display= $this->systab->execute();