diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 41af90e294..edbd1909f5 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -599,7 +599,7 @@ function tdr_hour($schedule) { $now = strtotime("now"); if($debug) echo "S: $starting_time E: $ending_time N: $now \n"; - if($now > $starting_time and $now < $ending_time) + if($now >= $starting_time and $now <= $ending_time) return true; return false; }