From: hickert Date: Wed, 4 Aug 2010 14:24:16 +0000 (+0000) Subject: Do not print each rpc response, just errornous X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4b914cd8c7f72c0a781deebb3a34e4d4956fdfc8;p=gosa.git Do not print each rpc response, just errornous git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19359 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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']); }