diff --git a/src/Hackspace/Bundle/CalciferBundle/Entity/Event.php b/src/Hackspace/Bundle/CalciferBundle/Entity/Event.php index 222737e..3bf1155 100755 --- a/src/Hackspace/Bundle/CalciferBundle/Entity/Event.php +++ b/src/Hackspace/Bundle/CalciferBundle/Entity/Event.php @@ -139,12 +139,14 @@ class Event extends BaseEntity $categories[] = $tag->name; } + $uid = sprintf("https://%s/termine/%s",$_SERVER['HTTP_HOST'],$this->slug); $event = [ 'SUMMARY' => $this->summary, 'DTSTART' => $this->startdate, 'DESCRIPTION' => $this->description, 'URL' => $this->url, 'CATEGORIES' => $categories, + 'UID' => $uid, ]; if (!is_null($this->enddate)) $event["DTEND"] = $this->enddate;