This follows the change to the ->accounts->membership() call.

This commit is contained in:
skeeter 2001-08-04 20:48:54 +00:00
parent 7506365417
commit e17aaa4f5c

View File

@ -803,7 +803,7 @@
elseif($event['public'] == 2) elseif($event['public'] == 2)
{ {
$is_private = True; $is_private = True;
$groups = $phpgw->accounts->memberships($owner); $groups = $phpgw->accounts->membership($owner);
while (list($key,$group) = each($groups)) while (list($key,$group) = each($groups))
{ {
if (strpos(' '.implode($event['groups'],',').' ',$group['account_id'])) if (strpos(' '.implode($event['groups'],',').' ',$group['account_id']))