Skip to content

Commit bf889c2

Browse files
committed
fix the thingy
1 parent f44dd2b commit bf889c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/generate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function ajaxErrorHandler($errno, $errstr, $errfile, $errline) {
6767
}
6868

6969
$course = strtoupper($course);
70-
preg_match('/([A-Z]{4})[-\s]*(\d{0,3}[A-Z]?)?(?:[-\s]+(\d{0,2}[A-Z]?\d?))?/', $course, $courseParts);
70+
preg_match('/([A-Z0-9]{4})[-\s]*(\d{0,3}[A-Z]?)?(?:[-\s]+(\d{0,2}[A-Z]?\d?))?/', $course, $courseParts);
7171

7272
// Query base: Noncancelled courses from the requested term
7373
$query = "SELECT s.id

0 commit comments

Comments
 (0)