diff options
-rwxr-xr-x | flowsheet_details.inc | 6 |
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 +} |