mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +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)
|
foreach($rs as $row)
|
||||||
{
|
{
|
||||||
$ids[] = $id = $row['cal_id'];
|
$ids[] = $id = $row['cal_id'];
|
||||||
if ($row['recur_date'])
|
if ($row['cal_recur_date'])
|
||||||
{
|
{
|
||||||
$id .= '-'.$row['recur_date'];
|
$id .= '-'.$row['cal_recur_date'];
|
||||||
$recur_dates[] = $row['recur_date'];
|
$recur_dates[] = $row['cal_recur_date'];
|
||||||
}
|
}
|
||||||
$row['alarm'] = array();
|
$row['alarm'] = array();
|
||||||
$row['recur_exception'] = $row['recur_exception'] ? explode(',',$row['recur_exception']) : array();
|
$row['recur_exception'] = $row['recur_exception'] ? explode(',',$row['recur_exception']) : array();
|
||||||
|
|
||||||
$events[$id] = egw_db::strip_array_keys($row,'cal_');
|
$events[$id] = egw_db::strip_array_keys($row,'cal_');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($events))
|
if (count($events))
|
||||||
{
|
{
|
||||||
// now ready all users with the given cal_id AND (cal_recur_date=0 or the fitting recur-date)
|
// 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