Skip to content

Commit b3d162f

Browse files
committed
Muting line for notices
1 parent 5236c6b commit b3d162f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,4 +293,4 @@ function procInstrArray(array $lineSplit): array {
293293
$lineSplit[4] = str_pad($lineSplit[4], 2, '0', STR_PAD_LEFT);
294294
return $lineSplit;
295295
}
296-
}
296+
}

tools/processDump.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@
299299
$row['course_descrlong'] = mysqli_real_escape_string($dbConn, $row['course_descrlong']);
300300

301301
// Insert or update the course
302-
$courseId = $parser->insertOrUpdateCourse($row['qtr'], $row['acad_org'], $row['subject'], $row['catalog_nbr'],
302+
@$courseId = $parser->insertOrUpdateCourse($row['qtr'], $row['acad_org'], $row['subject'], $row['catalog_nbr'],
303303
(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");

0 commit comments

Comments
 (0)