From bab3f07094cba298ce9e85d595a1a4f79f18e59a Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 20 Jul 2006 11:36:45 +0000 Subject: [PATCH] improved parent check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4257 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_acl.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class_acl.inc b/include/class_acl.inc index ee441d681..7ea80a744 100644 --- a/include/class_acl.inc +++ b/include/class_acl.inc @@ -87,7 +87,7 @@ class acl extends plugin /* Objects */ $tmp= get_global('plist'); $plist= $tmp->info; - if (isset($this->parent)){ + if (isset($this->parent) && $this->parent != NULL){ $oc= array(); foreach ($this->parent->by_object as $key => $obj){ $oc= array_merge($oc, $obj->objectclasses); -- 2.30.2