From 10f7c265c5225b57cb6812823d932e8ed73c6817 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 15 Jan 2008 07:22:32 +0000 Subject: [PATCH] Closes #317 Application 'apply' will no longer add a category. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8337 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/groups/class_groupApplication.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gosa-core/plugins/admin/groups/class_groupApplication.inc b/gosa-core/plugins/admin/groups/class_groupApplication.inc index ea33e112f..e10e4a69d 100644 --- a/gosa-core/plugins/admin/groups/class_groupApplication.inc +++ b/gosa-core/plugins/admin/groups/class_groupApplication.inc @@ -979,14 +979,14 @@ class appgroup extends plugin plugin::save(); - - /* Copy members */ - $this->Categories[""]=""; + $tmp = array("" => ""); + $tmp = array_merge($tmp,$this->Categories); + $this->attrs["gosaMemberApplication"]= array(); $this->attrs["gosaApplicationParameter"]= array(); $cat_id= 0 ; - foreach($this->Categories as $name => $cats){ + foreach($tmp as $name => $cats){ $i =0; if(isset($this->gosaMemberApplication[$name])){ foreach($this->gosaMemberApplication[$name] as $entry){ -- 2.30.2