From 9e7086ee2c4c3c4533b6591941372d0cbe7e7fd5 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 3 Nov 2008 08:18:23 +0000 Subject: [PATCH] Fixed interesting array problem git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12860 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_plugin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index 88fccb4a0..4796f86ec 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -193,7 +193,7 @@ class plugin if (preg_match('/top/i', $obj)){ continue; } - if (!in_array_ics ($obj, $this->attrs['objectClass'])){ + if (!isset($this->attrs['objectClass']) || !in_array_ics ($obj, $this->attrs['objectClass'])){ $found= FALSE; break; } -- 2.30.2