Fix for jengo.

This commit is contained in:
skeeter 2001-06-18 03:18:25 +00:00
parent 8dc98a7ae0
commit 3733e5a945

View File

@ -64,7 +64,7 @@
// vv This is new // vv This is new
$grantors = $acl->get_ids_for_location($id,$rights,$phpgw_info['flags']['currentapp']); $grantors = $acl->get_ids_for_location($id,$rights,$phpgw_info['flags']['currentapp']);
$is_group_set = False; $is_group_set = False;
while(list($key,$grantor) = each($grantors)) while(@$grantors && list($key,$grantor) = each($grantors))
{ {
if($phpgw->accounts->get_type($grantor) == 'g') if($phpgw->accounts->get_type($grantor) == 'g')
{ {