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

This commit is contained in:
Ralf Becker 2010-10-13 14:08:24 +00:00
parent e8aef25f5b
commit 8dee351338

View File

@ -829,7 +829,7 @@ error_log(__METHOD__."($path,,".array2string($start).") filter=".array2string($f
));
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);
}