diff --git a/input.php b/input.php --- a/input.php +++ b/input.php @@ -153,7 +153,8 @@ elseif ($errors_fix) . ', ' . json_encode($section['professor']) . ', ' . json_encode($section['location']) . ', ' . json_encode($section['type']) . ', ' - . json_encode($section['slot']) . ');' . PHP_EOL; + . json_encode($section['slot']) . ', ' + . json_encode(isset($section['credit_hours']) ? $section['credit_hours'] : -1) . ');' . PHP_EOL; $my_hc .= PHP_EOL; } } @@ -314,6 +315,10 @@ if (!empty($_REQUEST['selectsemester'])) +
Credit Hours: 0
+