X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_multi_plug.inc;h=c999641c1a0f8cb351daea6b54b07e9940bb2107;hb=ec7198b4b87d963ce804f052eafc90e69858f93f;hp=89f02568790d8d230cb0fda96a537d0cd256c90c;hpb=45502fdaea3a09f6c3684a4b2bb989b75d2bb18e;p=gosa.git diff --git a/gosa-core/include/class_multi_plug.inc b/gosa-core/include/class_multi_plug.inc index 89f025687..c999641c1 100644 --- a/gosa-core/include/class_multi_plug.inc +++ b/gosa-core/include/class_multi_plug.inc @@ -1,21 +1,23 @@ o_tab = new $class($config,$tab,"new",$acl_category); $this->o_tab->set_acl_base($acl_base); + $this->by_object = &$this->o_tab->by_object; + $this->by_name = &$this->o_tab->by_name; + $this->current = &$this->o_tab->current; /* Check if the specified tab object supports multiple edits */ @@ -197,6 +204,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]); } @@ -278,7 +290,8 @@ class multi_plug */ public function execute() { - return($this->o_tab->execute()); + $str = $this->o_tab->execute(); + return($str); }