From cd5c5566b0fc014088e245fdceded5b71b84e815 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Fri, 10 Nov 2023 11:07:15 +0100 Subject: [PATCH] fix(appointments): Write Talk link to event Signed-off-by: Christoph Wurst --- lib/Service/Appointments/BookingCalendarWriter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Service/Appointments/BookingCalendarWriter.php b/lib/Service/Appointments/BookingCalendarWriter.php index 7b46b76e2a..c35f993ceb 100644 --- a/lib/Service/Appointments/BookingCalendarWriter.php +++ b/lib/Service/Appointments/BookingCalendarWriter.php @@ -181,8 +181,8 @@ public function write(AppointmentConfig $config, $vcalendar->VEVENT->add($alarm); } - if ($config->getLocation() !== null) { - $vcalendar->VEVENT->add('LOCATION', $config->getLocation()); + if ($location !== null) { + $vcalendar->VEVENT->add('LOCATION', $location); } $vcalendar->VEVENT->add('X-NC-APPOINTMENT', $config->getToken());