summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpssp_details.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/pssp_details.inc b/pssp_details.inc
index 7cffb85..e469cc2 100755
--- a/pssp_details.inc
+++ b/pssp_details.inc
@@ -18,7 +18,7 @@ function om_pssp_completed_proposals_all()
{
$output .= "Work has been completed for the following Power System Simulations. We welcome your contributions." . "<hr>";
$preference_rows = array();
- $i = 1;
+ $i = $result->rowCount();
while ($row = $result->fetchObject())
{
$proposal_id = $row->id;
@@ -36,7 +36,7 @@ function om_pssp_completed_proposals_all()
$row->university,
$completion_date
);
- $i++;
+ $i--;
} //$row = $result->fetchObject()
$preference_header = array(
'No',