diff --git a/api/search.php b/api/search.php index 4fd1c64..c65e79d 100644 --- a/api/search.php +++ b/api/search.php @@ -146,7 +146,7 @@ function assertNumeric($var, $name): void { $timequery[] = "(start >= 720 AND start < 1020)"; } if (in_array("even", $times)) { - $timequery[] = "(start > 1020)"; + $timequery[] = "(start >= 1020)"; } $timeConstraints[] = "(" . implode(" OR ", $timequery) . ")"; // Make it a single string (condition OR condition ...) }