Skip to content

Commit 8353830

Browse files
committed
search: fix sections which start at exactly 5 PM
sections that start at 5 PM should count as at least one of afternoon or evening.
1 parent 001a6b0 commit 8353830

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function assertNumeric($var, $name): void {
146146
$timequery[] = "(start >= 720 AND start < 1020)";
147147
}
148148
if (in_array("even", $times)) {
149-
$timequery[] = "(start > 1020)";
149+
$timequery[] = "(start >= 1020)";
150150
}
151151
$timeConstraints[] = "(" . implode(" OR ", $timequery) . ")"; // Make it a single string (condition OR condition ...)
152152
}

0 commit comments

Comments
 (0)