From: hickert Date: Mon, 13 Feb 2006 10:30:38 +0000 (+0000) Subject: Cleanup ability X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e3bf7e98487be4fa8446d750b14fa52b9fa119dd;p=gosa.git Cleanup ability git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2672 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/ogroups/class_ogroup.inc b/plugins/admin/ogroups/class_ogroup.inc index 311f1746e..bfdd15e7d 100644 --- a/plugins/admin/ogroups/class_ogroup.inc +++ b/plugins/admin/ogroups/class_ogroup.inc @@ -32,7 +32,7 @@ class ogroup extends plugin var $group_dialog= FALSE; /* attribute list for save action */ - var $attributes= array("cn", "description", "gosaGroupObjects"); + var $attributes= array("cn", "description", "gosaGroupObjects","member"); var $objectclasses= array("top", "gosaGroupOfNames"); function ogroup ($config, $dn= NULL) @@ -40,6 +40,8 @@ class ogroup extends plugin plugin::plugin ($config, $dn); $this->orig_dn= $dn; + $this->member = array(); + /* Load member objects */ if (isset($this->attrs['member'])){ foreach ($this->attrs['member'] as $key => $value){ @@ -648,6 +650,7 @@ class ogroup extends plugin plugin::save(); /* Move members to target array */ + $this->attrs['member'] =array(); foreach ($this->member as $key => $desc){ $this->attrs['member'][]= $key; }