summaryrefslogtreecommitdiff
path: root/cfd_case_study_details.inc
diff options
context:
space:
mode:
Diffstat (limited to 'cfd_case_study_details.inc')
-rwxr-xr-xcfd_case_study_details.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfd_case_study_details.inc b/cfd_case_study_details.inc
index 0434e7f..2430c10 100755
--- a/cfd_case_study_details.inc
+++ b/cfd_case_study_details.inc
@@ -76,7 +76,7 @@ function cfd_case_study_progress_all()
{
$page_content .= "Work is in progress for the following case studies under case study Project<hr>";
$preference_rows = array();
- $i = 1;
+ $i = $result->rowCount();
while ($row = $result->fetchObject())
{
$approval_date = date("Y", $row->approval_date);
@@ -87,7 +87,7 @@ function cfd_case_study_progress_all()
$row->university,
$approval_date
);
- $i++;
+ $i--;
} //$row = $result->fetchObject()
$preference_header = array(
'No',