diff options
Diffstat (limited to 'custom_model_details.inc')
-rwxr-xr-x | custom_model_details.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/custom_model_details.inc b/custom_model_details.inc index 592a8b3..903eec8 100755 --- a/custom_model_details.inc +++ b/custom_model_details.inc @@ -19,7 +19,7 @@ function custom_model_completed_proposals_all() { $output .= "Work has been completed for the following custom model. We welcome your contributions." . "<hr>"; $preference_rows = array(); - $i = 1; + $i = $result->rowCount(); while ($row = $result->fetchObject()) { $proposal_id = $row->id; @@ -31,7 +31,7 @@ function custom_model_completed_proposals_all() $row->university, $completion_date ); - $i++; + $i--; } //$row = $result->fetchObject() $preference_header = array( 'No', |