From: hickert Date: Wed, 1 Mar 2006 05:02:06 +0000 (+0000) Subject: Prevent "reload errors" , X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e50d6be9e30f0880d828f99cee2b9876dd3ecad8;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@2777 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc index 1bcece131..12555c193 100644 --- a/plugins/admin/groups/class_groupManagement.inc +++ b/plugins/admin/groups/class_groupManagement.inc @@ -205,7 +205,7 @@ class groupManagement extends plugin /* Finish group 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->grouptab->config)) ){ /* Check tabs, will feed message array */ $message= $this->grouptab->check(); @@ -238,7 +238,7 @@ class groupManagement extends plugin } /* User wants to edit data? */ - if ($s_action=="edit"){ + if (($s_action=="edit") && (!isset($this->grouptab-> config))){ /* Get 'dn' from posted 'uid', must be unique */ $this->dn= $this->grouplist[trim($s_entry)]['dn']; @@ -334,7 +334,7 @@ class groupManagement extends plugin } /* Show tab dialog if object is present */ - if ($this->grouptab){ + if (isset($this->grouptab->config)){ $display= $this->grouptab->execute(); /* Don't show buttons if tab dialog requests this */