mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +01:00
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));
|
$sql .= (!$this->is_group?$this->owner:implode(',',$this->g_owner));
|
||||||
}
|
}
|
||||||
|
|
||||||
$member_groups = $GLOBALS['phpgw']->accounts->membership($this->user);
|
// $member_groups = $GLOBALS['phpgw']->accounts->membership($this->user);
|
||||||
@reset($member_groups);
|
// @reset($member_groups);
|
||||||
while(list($key,$group_info) = each($member_groups))
|
// while(list($key,$group_info) = each($member_groups))
|
||||||
{
|
// {
|
||||||
$member[] = $group_info['account_id'];
|
// $member[] = $group_info['account_id'];
|
||||||
}
|
// }
|
||||||
@reset($member);
|
// @reset($member);
|
||||||
// $sql .= ','.implode(',',$member).') ';
|
// $sql .= ','.implode(',',$member).') ';
|
||||||
// $sql .= 'AND (phpgw_cal.datetime <= '.$starttime.') ';
|
// $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))) '
|
// $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