From: hickert Date: Tue, 14 Sep 2010 07:16:17 +0000 (+0000) Subject: Updated ogroup handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b295b8c74623bc521562d9ea4ef03107aa28f2d7;p=gosa.git Updated ogroup handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19655 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/ogroups/class_ogroup.inc b/gosa-core/plugins/admin/ogroups/class_ogroup.inc index aff73709d..4259cce19 100644 --- a/gosa-core/plugins/admin/ogroups/class_ogroup.inc +++ b/gosa-core/plugins/admin/ogroups/class_ogroup.inc @@ -700,11 +700,14 @@ class ogroup extends plugin /* Save to LDAP */ function save() { - plugin::save(); - // Do not save members if we don't want to. // This may be the case if we've copied an ogroup containing systems! - if(!$this->copyMembers) $this->member = array(); + if(!$this->copyMembers){ + $this->member = array(); + $this->reload(); + } + + plugin::save(); /* Move members to target array */ $this->attrs['member'] =array();