summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202019-01-09 15:02:55 +0530
committerGitHub2019-01-09 15:02:55 +0530
commit6fbe169f3bd8aa2d70d406728c718d64f72e1c4d (patch)
treee12e0c05bdb00b2665b3912287dd4542799bd0b9
parenteb845474255dfba5875421b3aa1f9bffc1e4a49c (diff)
parent1ed6e60e8e4acfb819fdfdd2821401f171f3e545 (diff)
downloadom_pssp-6fbe169f3bd8aa2d70d406728c718d64f72e1c4d.tar.gz
om_pssp-6fbe169f3bd8aa2d70d406728c718d64f72e1c4d.tar.bz2
om_pssp-6fbe169f3bd8aa2d70d406728c718d64f72e1c4d.zip
Merge pull request #6 from Sashi20/master
Validated project title field for same title as approved/completed pr…
-rwxr-xr-xproposal.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/proposal.inc b/proposal.inc
index d574127..47017d1 100755
--- a/proposal.inc
+++ b/proposal.inc
@@ -328,7 +328,7 @@ function om_pssp_proposal_form_validate($form, &$form_state)
$query = db_select('om_pssp_proposal');
$query->fields('om_pssp_proposal');
$query->condition('project_title', $project_title);
- //$query->condition('id', $pref_id);
+ $query->condition(db_or()->condition('approval_status',1)->condition('approval_status',3));
$result = $query->execute()->rowCount();
//var_dump($result);die;
if ($result >= 1)