From: cajus Date: Thu, 20 Jul 2006 11:36:45 +0000 (+0000) Subject: improved parent check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bab3f07094cba298ce9e85d595a1a4f79f18e59a;p=gosa.git improved parent check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4257 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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);