From 1168b8f988889b763bbe317f36c5c296115f433b Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 21 Apr 2010 13:43:28 +0000 Subject: [PATCH] Updated role listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17777 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_acl.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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']]))); } -- 2.30.2