From ba01fa7d748a88cc2e9f4a073069673884575d77 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 6 Jul 2011 14:50:00 +0000 Subject: [PATCH] Fixed sprintf error git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20938 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_jsonRPC.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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']; -- 2.30.2