From 4b914cd8c7f72c0a781deebb3a34e4d4956fdfc8 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 4 Aug 2010 14:24:16 +0000 Subject: [PATCH] Do not print each rpc response, just errornous git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19359 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_jsonRPC.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/class_jsonRPC.inc b/gosa-core/include/class_jsonRPC.inc index 6d7e98efa..12bb2af72 100644 --- a/gosa-core/include/class_jsonRPC.inc +++ b/gosa-core/include/class_jsonRPC.inc @@ -139,7 +139,7 @@ class jsonRPC { }else{ DEBUG (DEBUG_RPC, __LINE__, __FUNCTION__, __FILE__,bold($this->get_error())."
".$response, "Result (FAILED): "); } - + if(isset($response['error']) && !empty($response['error'])) print_a(array($response)); return($response['result']); } -- 2.30.2