From: cajus Date: Mon, 3 Nov 2008 08:18:23 +0000 (+0000) Subject: Fixed interesting array problem X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9e7086ee2c4c3c4533b6591941372d0cbe7e7fd5;p=gosa.git Fixed interesting array problem git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12860 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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; }