Allow upgrade of single events to series via SyncML/CalDAV

This commit is contained in:
Jörg Lehrke 2010-05-21 18:38:41 +00:00
parent 2c337344c0
commit 082aef12dc

View File

@ -1528,8 +1528,8 @@ class calendar_boupdate extends calendar_bo
$matchingEvents[] = $egwEvent['id'] . ':' . (int)$event['recurrence'];
}
}
} elseif ($event['recur_type'] == $egwEvent['recur_type'] &&
$filter != 'master' && ($filter == 'exact' ||
} elseif ($filter != 'master' && ($filter == 'exact' ||
$event['recur_type'] == $egwEvent['recur_type'] &&
strpos($egwEvent['title'], $event['title']) === 0))
{
$matchingEvents[] = $egwEvent['id']; // we found the event