From: hickert Date: Mon, 21 Apr 2008 08:06:20 +0000 (+0000) Subject: Updated group generic - copy & paste X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8643c90e256421271e1e1fbb1b40301a80b214cf;p=gosa.git Updated group generic - copy & paste -Copy user memberships (memberUid too) git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10576 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/groups/class_groupGeneric.inc b/gosa-core/plugins/admin/groups/class_groupGeneric.inc index 319edc791..5c00c8155 100644 --- a/gosa-core/plugins/admin/groups/class_groupGeneric.inc +++ b/gosa-core/plugins/admin/groups/class_groupGeneric.inc @@ -1323,6 +1323,20 @@ class group extends plugin } } + + function PrepareForCopyPaste($source) + { + plugin::PrepareForCopyPaste($source); + + $this->memberUid = array(); + if(isset($source['memberUid'])){ + for($i = 0 ; $i < $source['memberUid']['count']; $i ++){ + $this->memberUid[] = $source['memberUid'][$i]; + } + } + } + + function set_multi_edit_values($attrs) { $users = array();