From: hickert Date: Wed, 6 Jul 2011 14:50:00 +0000 (+0000) Subject: Fixed sprintf error X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ba01fa7d748a88cc2e9f4a073069673884575d77;p=gosa.git Fixed sprintf error git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20938 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_jsonRPC.inc b/gosa-core/include/class_jsonRPC.inc index a3a164e83..82b69390f 100644 --- a/gosa-core/include/class_jsonRPC.inc +++ b/gosa-core/include/class_jsonRPC.inc @@ -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'];