From 4b1ba0d20dd46c3ef16818ee78fbb2c4a5582a6e Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 9 Jan 2008 06:48:50 +0000 Subject: [PATCH] Updated multi_plug class git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8257 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_multi_plug.inc | 5 +++++ gosa-core/plugins/admin/groups/class_groupManagement.inc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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()); } } -- 2.30.2