From efa2904af817aba89746c8c3a5d0956e7a3a3c08 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 16 Mar 2010 07:44:12 +0000 Subject: [PATCH] Updated array check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16577 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_filter.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/class_filter.inc b/gosa-core/include/class_filter.inc index 57057165b..d45d94c8f 100644 --- a/gosa-core/include/class_filter.inc +++ b/gosa-core/include/class_filter.inc @@ -67,7 +67,7 @@ class filter { if (isset($xmlData['search'])) { // Array conversion - if (!is_array($xmlData['search'])) { + if (!isset($xmlData['search'][0])) { $searches= array($xmlData['search']); } else { $searches= $xmlData['search']; -- 2.30.2