From dcd240785dfd5b2ed3ad3e093cbb07f1a559656a Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Sun, 13 Feb 2022 02:17:28 +1300 Subject: [PATCH] Fix the case of a variable --- scripts/refresh-alarms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/refresh-alarms.php b/scripts/refresh-alarms.php index bcca7957..2ee0ce90 100755 --- a/scripts/refresh-alarms.php +++ b/scripts/refresh-alarms.php @@ -156,7 +156,7 @@ if ( $qry->Exec() && $qry->rows() ) { $last = $first; } } - if ( $args->set_last && !isset($last) && (!isset($next) || $next < $expand_range_Start) ) { + if ( $args->set_last && !isset($last) && (!isset($next) || $next < $expand_range_start) ) { $vc = new vCalendar( $alarm->caldav_data ); $range = getVCalendarRange($vc); if ( isset($range->until) && $range->until < $earliest ) $last = $range->until;