Skip to content

Commit a4fa767

Browse files
committed
Calling units as an Int
1 parent 818eb66 commit a4fa767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/processDump.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300

301301
// Insert or update the course
302302
$courseId = $parser->insertOrUpdateCourse($row['qtr'], $row['acad_org'], $row['subject'], $row['catalog_nbr'],
303-
$row['units'], $row['descr'], $row['course_descrlong']);
303+
(int)$row['units'], $row['descr'], $row['course_descrlong']);
304304
if (!is_numeric($courseId)) {
305305
echo(" *** Error: Failed to update {$row['qtr']} {$row['subject']}-{$row['catalog_nbr']}\n");
306306
echo(" ");

0 commit comments

Comments
 (0)