Add the UID to the ical file.

This also fixes the caldavs issues.

Fixes #33,#31
This commit is contained in:
Tim Schumacher 2014-11-20 15:46:58 +01:00
parent e75020e9da
commit b5d22c0bbc

View file

@ -150,6 +150,7 @@ class Event extends BaseEntity
$event->setEnd($this->enddate); $event->setEnd($this->enddate);
$event->setSummary($this->summary); $event->setSummary($this->summary);
$event->setUrl($this->url); $event->setUrl($this->url);
$event->setUid($this->id);
if ($this->location instanceof Location) { if ($this->location instanceof Location) {
$location = new EventLocation(); $location = new EventLocation();
$location->setName($this->location->name); $location->setName($this->location->name);