summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 10e9baf)
raw | patch | inline | side by side (parent: 10e9baf)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Oct 2010 13:04:22 +0000 (13:04 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Oct 2010 13:04:22 +0000 (13:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20125 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_jsonRPC.inc | patch | blob | history |
index 1735ad6f647e5f966b1e0b90740f1699abc8714f..bf82d971cda725228084967a57319576340840a3 100644 (file)
{
if($this->lastStats['http_code'] != 200){
$error = $this->getHttpStatusCodeMessage($this->lastStats['http_code']);
- if(isset($this->lastResult['error']['error'])){
+ if(isset($this->lastResult['error']['error']) && is_array($this->lastResult['error']['error'])){
$err = $this->lastResult['error']['error'];
$message = call_user_func_array(sprintf,$err);
$error .= $message;