From 3733e5a94502416ea8169f7c9531f5cf07df8c02 Mon Sep 17 00:00:00 2001 From: skeeter Date: Mon, 18 Jun 2001 03:18:25 +0000 Subject: [PATCH] Fix for jengo. --- preferences/acl_preferences.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preferences/acl_preferences.php b/preferences/acl_preferences.php index 78c532c6a7..7ffec52eee 100644 --- a/preferences/acl_preferences.php +++ b/preferences/acl_preferences.php @@ -64,7 +64,7 @@ // vv This is new $grantors = $acl->get_ids_for_location($id,$rights,$phpgw_info['flags']['currentapp']); $is_group_set = False; - while(list($key,$grantor) = each($grantors)) + while(@$grantors && list($key,$grantor) = each($grantors)) { if($phpgw->accounts->get_type($grantor) == 'g') {