From bddc878a96d1eb9370f79ac8b11d3b5f739bd637 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 5 Jun 2019 14:02:31 -0600 Subject: [PATCH] Calendar - Check against user time when deciding if notifications should be sent --- calendar/inc/class.calendar_boupdate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index 8806a435bd..f8d761636c 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -269,7 +269,7 @@ class calendar_boupdate extends calendar_bo $this->log2file($event2save,$event,$old_event); } // 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) {