Code

Fixed /var/www/gosa/plugins/admin/groups/class_groupAcl.inc (Line 173) Undefined...
[gosa.git] / plugins / admin / ogroups / class_mailogroup.inc
index 5d23c1051953d42c2ccb78e959b533ce3fed0552..b99206146a930cede0354d27a5708ad654a3ebd4 100644 (file)
@@ -28,6 +28,7 @@ class mailogroup extends plugin
   {
        /* Call parent execute */
        plugin::execute();
+
     /* Do we need to flip is_account state? */
     if (isset($_POST['modify_state'])){
       $this->is_account= !$this->is_account;
@@ -90,7 +91,9 @@ class mailogroup extends plugin
 
     /* Save data to LDAP */
     $ldap->cd($this->dn);
-    $ldap->modify($this->attrs);
+    $this->cleanup();
+$ldap->modify ($this->attrs); 
+
     show_ldap_error($ldap->get_error());
 
     /* Optionally execute a command after we're done */
@@ -121,7 +124,9 @@ class mailogroup extends plugin
     @DEBUG (DEBUG_LDAP, __LINE__, __FUNCTION__, __FILE__,
         $this->attributes, "Save");
     $ldap->cd($this->dn);
-    $ldap->modify($this->attrs);
+    $this->cleanup();
+$ldap->modify ($this->attrs); 
+
     show_ldap_error($ldap->get_error());
   }