From: hickert Date: Wed, 9 Jan 2008 06:48:50 +0000 (+0000) Subject: Updated multi_plug class X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4b1ba0d20dd46c3ef16818ee78fbb2c4a5582a6e;p=gosa.git Updated multi_plug class git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8257 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_multi_plug.inc b/gosa-core/include/class_multi_plug.inc index 5a624257f..ef2d25275 100644 --- a/gosa-core/include/class_multi_plug.inc +++ b/gosa-core/include/class_multi_plug.inc @@ -202,6 +202,11 @@ class multi_plug if(!isset($base[$key])){ $base[$key] = $add[$key]; }else{ + + if(!isset($base[$key]['count'])){ + $base[$key]['count'] = count($base[$key]); + } + if(!isset($add[$key]['count'])){ $add[$key]['count'] = count($add[$key]); } diff --git a/gosa-core/plugins/admin/groups/class_groupManagement.inc b/gosa-core/plugins/admin/groups/class_groupManagement.inc index ef379f35c..868c1e7aa 100644 --- a/gosa-core/plugins/admin/groups/class_groupManagement.inc +++ b/gosa-core/plugins/admin/groups/class_groupManagement.inc @@ -240,7 +240,7 @@ class groupManagement extends plugin $tmp->lock_entries($this->ui->dn); if($tmp->multiple_available()){ $this->grouptab = $tmp; - session::set('objectinfo',$this->usertab->get_object_info()); + session::set('objectinfo',$this->grouptab->get_object_info()); } }