forked from extern/egroupware
takes into account 0 acl entries for the user/group
This commit is contained in:
parent
49d927b96a
commit
b4fa70ccd7
@ -130,6 +130,10 @@
|
|||||||
$this->read_installed_apps();
|
$this->read_installed_apps();
|
||||||
}
|
}
|
||||||
$app_list = $phpgw->acl->get_app_list_for_id('run',1,$this->account_id);
|
$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);
|
@reset($app_list);
|
||||||
while ($app = each($app_list)) {
|
while ($app = each($app_list)) {
|
||||||
if ($this->is_system_enabled($app[1])) {
|
if ($this->is_system_enabled($app[1])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user