forked from mirrors/easyappointments
Correct the array key access in Google.php (#1362)
This commit is contained in:
parent
a225019f6f
commit
674d7c4eeb
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ class Google extends EA_Controller {
|
||||||
$event_end = new DateTime($google_event->getEnd()->getDateTime() ?? $google_event->getEnd()->getDate());
|
$event_end = new DateTime($google_event->getEnd()->getDateTime() ?? $google_event->getEnd()->getDate());
|
||||||
$event_end->setTimezone($provider_timezone);
|
$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()
|
$is_different = $appointment_start !== $event_start->getTimestamp()
|
||||||
|| $appointment_end !== $event_end->getTimestamp()
|
|| $appointment_end !== $event_end->getTimestamp()
|
||||||
|
|
Loading…
Reference in a new issue