Google Calendar sync must not break when syncing all day events (#945).
This commit is contained in:
parent
9409633a5d
commit
ae3e0b1dcb
1 changed files with 5 additions and 0 deletions
|
@ -182,6 +182,11 @@ class Google extends EA_Controller {
|
|||
continue;
|
||||
}
|
||||
|
||||
if ($google_event->getStart()->getDateTime() === $google_event->getEnd()->getDateTime())
|
||||
{
|
||||
continue; // Skip all day events
|
||||
}
|
||||
|
||||
$results = $CI->appointments_model->get_batch(['id_google_calendar' => $google_event->getId()]);
|
||||
|
||||
if ( ! empty($results))
|
||||
|
|
Loading…
Reference in a new issue