summaryrefslogtreecommitdiff
path: root/lab_details.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lab_details.inc')
-rwxr-xr-xlab_details.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lab_details.inc b/lab_details.inc
index 1d195c2..0f8ea80 100755
--- a/lab_details.inc
+++ b/lab_details.inc
@@ -56,7 +56,7 @@ function lab_migration_labs_progress_all()
else
{
$preference_rows = array();
- $i = 1;
+ $i = $result->rowCount();
while ($row = $result->fetchObject())
{
$approval_date = date("Y", $row->approval_date);
@@ -66,7 +66,7 @@ function lab_migration_labs_progress_all()
$row->lab_title,
$approval_date
);
- $i++;
+ $i--;
}
$preference_header = array(
'No',
@@ -80,4 +80,4 @@ function lab_migration_labs_progress_all()
));
}
return $page_content;
- } \ No newline at end of file
+ }