Skip to content

Commit 7b2e6e0

Browse files
authored
Fix ICS location data (#158)
1 parent 7ef8d63 commit 7b2e6e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Types/Event.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function toICalendarEvent(string|CarbonInterface $date): ?ICalendarEvent
112112
->startsAt($immutableDate->setTimeFromTimeString($this->startTime()))
113113
->endsAt($immutableDate->setTimeFromTimeString($this->endTime()));
114114

115-
if (! is_null($address = $this->event->address ?? $this->event->location)) {
115+
if (! is_null($address = $this->event->address ?? $this->event->get('location'))) {
116116
$iCalEvent->address($address);
117117
}
118118

0 commit comments

Comments
 (0)