mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
"fixed recuring events (only one event was displayed)"
This commit is contained in:
parent
80385db75c
commit
066578711f
@ -371,17 +371,16 @@ class socal
|
||||
foreach($rs as $row)
|
||||
{
|
||||
$ids[] = $id = $row['cal_id'];
|
||||
if ($row['recur_date'])
|
||||
if ($row['cal_recur_date'])
|
||||
{
|
||||
$id .= '-'.$row['recur_date'];
|
||||
$recur_dates[] = $row['recur_date'];
|
||||
$id .= '-'.$row['cal_recur_date'];
|
||||
$recur_dates[] = $row['cal_recur_date'];
|
||||
}
|
||||
$row['alarm'] = array();
|
||||
$row['recur_exception'] = $row['recur_exception'] ? explode(',',$row['recur_exception']) : array();
|
||||
|
||||
$events[$id] = egw_db::strip_array_keys($row,'cal_');
|
||||
}
|
||||
|
||||
if (count($events))
|
||||
{
|
||||
// now ready all users with the given cal_id AND (cal_recur_date=0 or the fitting recur-date)
|
||||
|
Loading…
Reference in New Issue
Block a user