From 84a6a21f49f3c1f78360d1c9a1992cb6ac7534cc Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 25 Oct 2010 07:32:24 +0000 Subject: [PATCH] Updated json class git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20134 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 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]; -- 2.30.2