Code

Fixed sprintf error
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 6 Jul 2011 14:50:00 +0000 (14:50 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 6 Jul 2011 14:50:00 +0000 (14:50 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20938 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_jsonRPC.inc

index a3a164e8354119e84faa1572b1d46e0fbb9a3d10..82b69390f1b25e1b30d4ebd19745ba425a71472b 100644 (file)
@@ -127,7 +127,8 @@ class jsonRPC {
         }
         if(isset($this->lastResult['error']['error']) && is_array($this->lastResult['error']['error'])){
             $err = $this->lastResult['error']['error'];
-            $message = call_user_func_array(sprintf,$err);
+            #$message = call_user_func_array(sprintf,$err);
+            $message = $err;
             $error .= $message;
         }elseif(isset($this->lastResult['error']['message'])){
             $error .= $this->lastResult['error']['message'];