summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xflowsheet_details.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/flowsheet_details.inc b/flowsheet_details.inc
index f392ce6..f64ab42 100755
--- a/flowsheet_details.inc
+++ b/flowsheet_details.inc
@@ -61,7 +61,7 @@ function om_flowsheet_progress_all()
{
$page_content .= "Work is in progress for the following flowsheets under Flowsheeting Project<hr>";;
$preference_rows = array();
- $i = 1;
+ $i = $result->rowCount();
while ($row = $result->fetchObject())
{
$approval_date = date("Y", $row->approval_date);
@@ -72,7 +72,7 @@ function om_flowsheet_progress_all()
$row->university,
$approval_date
);
- $i++;
+ $i--;
} //$row = $result->fetchObject()
$preference_header = array(
'No',
@@ -87,4 +87,4 @@ function om_flowsheet_progress_all()
));
}
return $page_content;
-} \ No newline at end of file
+}