summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0766056)
raw | patch | inline | side by side (parent: 0766056)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 4 Jun 2010 12:50:53 +0000 (12:50 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 4 Jun 2010 12:50:53 +0000 (12:50 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18848 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_jsonRPC.inc | patch | blob | history |
index 54cb8b72db43bdd8d9bce88eb917493d4b7f3896..f236b89b8115d3e469b7c4f1bc85010254cb10be 100644 (file)
DEBUG (DEBUG_RPC, __LINE__, __FUNCTION__, __FILE__,"{$method}", "Calling: ");
$response = $this->request($method,$params);
if($this->success()){
- DEBUG (DEBUG_RPC, __LINE__, __FUNCTION__, __FILE__,bold($response['result']), "Result: ");
+ DEBUG (DEBUG_RPC, __LINE__, __FUNCTION__, __FILE__,
+ (is_array($response['result']))?$response['result']:bold($response['result']), "Result: ");
}else{
DEBUG (DEBUG_RPC, __LINE__, __FUNCTION__, __FILE__,bold($this->get_error())."<br>".$response, "Result (FAILED): ");
}