Correct the array key access in Google.php (#1362)

This commit is contained in:
Alex Tselegidis 2023-07-03 10:21:46 +02:00
parent a225019f6f
commit 674d7c4eeb
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ class Google extends EA_Controller {
$event_end = new DateTime($google_event->getEnd()->getDateTime() ?? $google_event->getEnd()->getDate());
$event_end->setTimezone($provider_timezone);
$google_event_notes = $appointment['is_unavailable'] ? $google_event->getSummary() . ' ' . $google_event->getDescription() : $google_event->getDescription();
$google_event_notes = $appointment['is_unavailability'] ? $google_event->getSummary() . ' ' . $google_event->getDescription() : $google_event->getDescription();
$is_different = $appointment_start !== $event_start->getTimestamp()
|| $appointment_end !== $event_end->getTimestamp()