Skip to content

Commit 108de96

Browse files
authored
Merge pull request #375 from ComputerScienceHouse/feature/mstrodl/evening-classes
search: fix sections which start at exactly 5 PM
2 parents 001a6b0 + 8353830 commit 108de96

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)