forked from extern/egroupware
This should fix the problem with variable passed to each() not an array on line 108.
This commit is contained in:
parent
0731c2f111
commit
3e2136f1b8
@ -103,13 +103,13 @@
|
||||
$sql .= (!$this->is_group?$this->owner:implode(',',$this->g_owner));
|
||||
}
|
||||
|
||||
$member_groups = $GLOBALS['phpgw']->accounts->membership($this->user);
|
||||
@reset($member_groups);
|
||||
while(list($key,$group_info) = each($member_groups))
|
||||
{
|
||||
$member[] = $group_info['account_id'];
|
||||
}
|
||||
@reset($member);
|
||||
// $member_groups = $GLOBALS['phpgw']->accounts->membership($this->user);
|
||||
// @reset($member_groups);
|
||||
// while(list($key,$group_info) = each($member_groups))
|
||||
// {
|
||||
// $member[] = $group_info['account_id'];
|
||||
// }
|
||||
// @reset($member);
|
||||
// $sql .= ','.implode(',',$member).') ';
|
||||
// $sql .= 'AND (phpgw_cal.datetime <= '.$starttime.') ';
|
||||
// $sql .= 'AND (((phpgw_cal_repeats.recur_enddate >= '.$starttime.') AND (phpgw_cal_repeats.recur_enddate <= '.$endtime.')) OR (phpgw_cal_repeats.recur_enddate=0))) '
|
||||
|
Loading…
Reference in New Issue
Block a user