diff options
-rwxr-xr-x | proposal.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proposal.inc b/proposal.inc index 2087575..c344d97 100755 --- a/proposal.inc +++ b/proposal.inc @@ -468,6 +468,7 @@ function dwsim_flowsheet_proposal_form_validate($form, &$form_state) $query = db_select('dwsim_flowsheet_proposal'); $query->fields('dwsim_flowsheet_proposal'); $query->condition('project_title', $project_title); + $query->condition('approval_status',1) $result = $query->execute()->rowCount(); if ($result >= 1) { |