From: hickert Date: Wed, 21 Apr 2010 13:43:28 +0000 (+0000) Subject: Updated role listing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1168b8f988889b763bbe317f36c5c296115f433b;p=gosa.git Updated role listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17777 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_acl.inc b/gosa-core/include/class_acl.inc index fc180de96..71db1500b 100644 --- a/gosa-core/include/class_acl.inc +++ b/gosa-core/include/class_acl.inc @@ -292,8 +292,11 @@ class acl extends plugin function convertForListing($entry) { $member = implode($entry['members'],", "); - $acl = implode(array_keys($entry['acl']),", "); - $type = implode(array_keys($entry['acl']),", "); + if(isset($entry['acl']) && is_array($entry['acl'])){ + $acl = implode(array_keys($entry['acl']),", "); + }else{ + $acl=""; + } return(array('data' => array($member, $acl, $this->aclTypes[$entry['type']]))); }