From: hickert Date: Mon, 25 Oct 2010 07:32:24 +0000 (+0000) Subject: Updated json class X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=84a6a21f49f3c1f78360d1c9a1992cb6ac7534cc;p=gosa.git Updated json class git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20134 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_jsonRPC.inc b/gosa-core/include/class_jsonRPC.inc index bf82d971c..e65cfbdc9 100644 --- a/gosa-core/include/class_jsonRPC.inc +++ b/gosa-core/include/class_jsonRPC.inc @@ -200,7 +200,7 @@ class jsonRPC { public function inspectJsonResult($result) { // Check for remove objects we've to create - if(isset($result['__jsonclass__']) && class_available('remoteObject')){ + if(is_array($result) && isset($result['__jsonclass__']) && class_available('remoteObject')){ // Get all relevant class informations $classDef = $result['__jsonclass__'][1];