diff options
-rwxr-xr-x | lab_details.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lab_details.inc b/lab_details.inc index eecb97b..0f8ea80 100755 --- a/lab_details.inc +++ b/lab_details.inc @@ -15,7 +15,7 @@ function lab_migration_completed_labs_all() else { $preference_rows = array(); - $i = 1; + $i = $result->rowCount(); while ($row = $result->fetchObject()) { $completion_date = date("Y", $row->expected_completion_date); @@ -25,7 +25,7 @@ function lab_migration_completed_labs_all() l($row->lab_title, "lab-migration/lab-migration-run/" . $row->id), $completion_date ); - $i++; + $i--; } $preference_header = array( 'No', |