Merge branch 'master' into develop
This commit is contained in:
@@ -113,7 +113,7 @@ class IcalService implements SingletonInterface
|
|||||||
$occupancy = $event->getOccupancy();
|
$occupancy = $event->getOccupancy();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($item['to'])) {
|
if (isset($event) && !isset($item['to'])) {
|
||||||
$item['to'] = $event->getEnd();
|
$item['to'] = $event->getEnd();
|
||||||
$this->addOccupancyItem($item);
|
$this->addOccupancyItem($item);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user