summaryrefslogtreecommitdiff
path: root/flowsheet_details.inc
diff options
context:
space:
mode:
Diffstat (limited to 'flowsheet_details.inc')
-rwxr-xr-xflowsheet_details.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/flowsheet_details.inc b/flowsheet_details.inc
index 9144b65..5b4229c 100755
--- a/flowsheet_details.inc
+++ b/flowsheet_details.inc
@@ -63,7 +63,7 @@ function dwsim_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);
@@ -74,7 +74,7 @@ function dwsim_flowsheet_progress_all()
$row->university,
$approval_date
);
- $i++;
+ $i--;
} //$row = $result->fetchObject()
$preference_header = array(
'No',