Code

Updated multi_plug class
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 9 Jan 2008 06:48:50 +0000 (06:48 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 9 Jan 2008 06:48:50 +0000 (06:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8257 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_multi_plug.inc
gosa-core/plugins/admin/groups/class_groupManagement.inc

index 5a624257fb8652258700138a172b34d17457b543..ef2d25275f8e804085b50f841091ce2c858cdee9 100644 (file)
@@ -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]);
           }
index ef379f35c6e1221456c18738918ed81f73f1f294..868c1e7aaebcc6e58cfb8ec458d0cf2b4d8f287c 100644 (file)
@@ -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());
       }
     }