Code

Updated css und div framework.
[gosa.git] / plugins / admin / ogroups / class_ogroupManagement.inc
index 013fd65561d0d26896308161063b33ce65c568b6..df051b4733936b8b2bb21eee776e581dc8eb9ed5 100644 (file)
@@ -177,7 +177,6 @@ class ogroupManagement extends plugin
         /* Delete request is permitted, perform LDAP action */
         $this->ogroup= new ogrouptabs($this->config,
             $this->config->data['TABS']['OGROUPTABS'], $this->dn);
-        $this->ogroup->set_acl(array($this->acl));
         $this->ogroup->delete ();
         gosa_log ("Object group'".$this->dn."' has been removed");
         unset ($this->ogroup);
@@ -274,7 +273,7 @@ class ogroupManagement extends plugin
      ****************/
 
     /* Cancel dialogs */
-    if (isset($_POST['edit_cancel'])){
+    if ((isset($_POST['edit_cancel']))  && (isset($this->ogroup->dn))){
       del_lock ($this->ogroup->dn);
       unset ($this->ogroup);
       $this->ogroup= NULL;