diff options
author | Sashi20 | 2019-01-02 16:34:44 +0530 |
---|---|---|
committer | GitHub | 2019-01-02 16:34:44 +0530 |
commit | 21d8627130c7b9b9a8362f5f01103b1bc0f260c7 (patch) | |
tree | 0913a409d0309103175e6a0171f0ddfda5919d8d | |
parent | 95f212cec0d46ff4fc3eb93d674f1fcf9d24738f (diff) | |
parent | 2e8a343e72afb6c10651cc148ed7da45ef98b3e2 (diff) | |
download | dwsim_flowsheet-21d8627130c7b9b9a8362f5f01103b1bc0f260c7.tar.gz dwsim_flowsheet-21d8627130c7b9b9a8362f5f01103b1bc0f260c7.tar.bz2 dwsim_flowsheet-21d8627130c7b9b9a8362f5f01103b1bc0f260c7.zip |
Merge pull request #30 from Sashi20/drupal_7.x
Modified the year displayed in completed flowsheets
-rwxr-xr-x | flowsheet_details.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flowsheet_details.inc b/flowsheet_details.inc index 4297f6f..b9317f0 100755 --- a/flowsheet_details.inc +++ b/flowsheet_details.inc @@ -21,13 +21,13 @@ function dwsim_flowsheet_completed_proposals_all() $i = 1; while ($row = $result->fetchObject()) { - $approval_date = date("Y", $row->approval_date); + $completion_date = date("Y", $row->actual_completion_date); $preference_rows[] = array( $i, l($row->project_title, "flowsheeting-project/dwsim-flowsheet-run/" . $row->id, array('attributes' => array('title' => 'This is a zip file containing a pdf (abstract) and a dwxml/dwxmz file which is the DWSIM flow sheet which is to be viewed by right clicking on the file and opening with DWSIM.'))), $row->contributor_name, $row->university, - $approval_date + $completion_date ); $i++; } //$row = $result->fetchObject() |