Fix exceptions before split time were disconnected from original series

This commit is contained in:
Nathan Gray 2015-12-04 19:52:53 +00:00
parent 59d1f23bb0
commit 003b090103

View File

@ -1160,7 +1160,7 @@ foreach($recur_event as $_k => $_v) error_log($_k . ': ' . array2string($_v));
$event['participants'] = $old_event['participants']; $event['participants'] = $old_event['participants'];
foreach ($old_event['recur_exception'] as $key => $exdate) foreach ($old_event['recur_exception'] as $key => $exdate)
{ {
if ($exdate > $last) if ($exdate > egw_time::to($last,'ts'))
{ {
unset($old_event['recur_exception'][$key]); unset($old_event['recur_exception'][$key]);
$event['recur_exception'][$key] += $offset; $event['recur_exception'][$key] += $offset;