Code

Updated rpc execution
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Sep 2010 13:15:36 +0000 (13:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Sep 2010 13:15:36 +0000 (13:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19553 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/groupware/personal/groupware/class_groupware.inc

index b420f5ff76d300b2aeb14f54ec52a50a436659ac..f7750dbf7306e7639698458e53a62f88dff11c10 100644 (file)
@@ -98,7 +98,7 @@ class groupware extends plugin
         $params = func_get_args();
         unset($params[0]);
         $rpc = $this->config->getRpcHandle();
-        $res = call_user_func_array(array($rpc,$function),$params);
+        $res = call_user_func_array(array($rpc,$function),array_values($params));
         $this->rpcError = !$rpc->success();
         if($this->rpcError){
             $this->rpcErrorMessage = $rpc->getError();