Should fix an array warning.

This commit is contained in:
skeeter 2002-01-10 02:15:33 +00:00
parent 74248030b8
commit d3deae6663

View File

@ -263,7 +263,7 @@ class socalendar_ extends socalendar__
}
$member_groups = $GLOBALS['phpgw']->accounts->membership($this->user);
@reset($member_groups);
while(list($key,$group_info) = each($member_groups))
while($member_groups != False && list($key,$group_info) = each($member_groups))
{
$member[] = $group_info['account_id'];
}