takes into account 0 acl entries for the user/group

This commit is contained in:
skeeter 2001-02-10 19:59:23 +00:00
parent 49d927b96a
commit b4fa70ccd7

View File

@ -130,6 +130,10 @@
$this->read_installed_apps();
}
$app_list = $phpgw->acl->get_app_list_for_id('run',1,$this->account_id);
if(!$app_list) {
reset($this->data);
return $this->data;
}
@reset($app_list);
while ($app = each($app_list)) {
if ($this->is_system_enabled($app[1])) {