avoid invinit recurrence on broken calendar entries (reference AND recur_type set)

This commit is contained in:
Ralf Becker 2010-10-13 14:09:01 +00:00
parent 5a08c84fbd
commit d6fa4cf92c

View File

@ -829,7 +829,7 @@ error_log(__METHOD__."($path,,".array2string($start).") filter=".array2string($f
)); ));
foreach($events as $k => &$recurrence) foreach($events as $k => &$recurrence)
{ {
if ($recurrence['reference']) // ignore series master if ($recurrence['reference'] && $recurrence['id'] != $entry['id']) // ignore series master
{ {
$etag .= ':'.substr($this->get_etag($recurrence),4,-4); $etag .= ':'.substr($this->get_etag($recurrence),4,-4);
} }