From b295b8c74623bc521562d9ea4ef03107aa28f2d7 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 14 Sep 2010 07:16:17 +0000 Subject: [PATCH] Updated ogroup handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19655 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/ogroups/class_ogroup.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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(); -- 2.30.2