Skip to content

Commit 541d5e4

Browse files
committed
Update add_drop_report.php
1 parent 8b3585c commit 541d5e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

student_auto_feed/add_drop_report.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,8 @@ public static function compile_report($prev_course_enrollments, $course_enrollme
367367
$prev_course_enrollment = str_pad($prev_course_enrollment, 5, " ", STR_PAD_LEFT);
368368
$course_enrollment = str_pad($course_enrollment, 5, " ", STR_PAD_LEFT);
369369
$manual_flag = str_pad($manual_flag, 6, " ", STR_PAD_LEFT);
370-
$withdrew = str_pad($withdrew, 6, "", STR_PAD_LEFT);
371370
$diff = str_pad($diff, 10, " ", STR_PAD_LEFT);
371+
$ratio = str_pad($ratio, 5, " ", STR_PAD_RIGHT);
372372

373373
// Add row to report.
374374
$report .= "{$course}{$prev_course_enrollment} {$course_enrollment} {$manual_flag} {$diff} {$ratio} {$withdrew}\n";

0 commit comments

Comments
 (0)