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

This commit is contained in:
Ralf Becker 2010-10-13 15:31:50 +00:00
parent 68fc0c38a5
commit 3df6fd12f6

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);
}