Skip to content

Commit

Permalink
Merge pull request #5575 from nextcloud/backport/5573/stable4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala authored Nov 10, 2023
2 parents 65e92a8 + cd5c556 commit 651fdae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Service/Appointments/BookingCalendarWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 651fdae

Please sign in to comment.