From: cajus Date: Tue, 16 Mar 2010 07:44:12 +0000 (+0000) Subject: Updated array check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=efa2904af817aba89746c8c3a5d0956e7a3a3c08;p=gosa.git Updated array check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16577 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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'];