Calendar - Check against user time when deciding if notifications should be sent

This commit is contained in:
nathangray 2019-06-05 14:02:31 -06:00
parent c2f7e2ab97
commit bddc878a96

View File

@ -269,7 +269,7 @@ class calendar_boupdate extends calendar_bo
$this->log2file($event2save,$event,$old_event); $this->log2file($event2save,$event,$old_event);
} }
// send notifications if the event is in the future // send notifications if the event is in the future
if(!$skip_notification && $event['end'] > time()) if(!$skip_notification && $event['end'] > $this->now_su)
{ {
if ($new_event) if ($new_event)
{ {