From 09a2d9d2ec3d79be9d0b007ffcb8d8200f21f434 Mon Sep 17 00:00:00 2001 From: edalzell Date: Wed, 13 May 2026 12:11:01 -0700 Subject: [PATCH] =?UTF-8?q?use=20raw=20so=20you=20don=E2=80=99t=20get=20an?= =?UTF-8?q?=20empty=20Values=20object?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Types/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Types/Event.php b/src/Types/Event.php index f340dac..c072caf 100644 --- a/src/Types/Event.php +++ b/src/Types/Event.php @@ -112,7 +112,7 @@ public function toICalendarEvent(string|CarbonInterface $date): ?ICalendarEvent ->startsAt($immutableDate->setTimeFromTimeString($this->startTime())) ->endsAt($immutableDate->setTimeFromTimeString($this->endTime())); - if (! is_null($address = $this->event->address ?? $this->event->location)) { + if (! is_null($address = $this->event->address ?? $this->event->get('location'))) { $iCalEvent->address($address); }