summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202020-04-09 18:29:55 +0530
committerSashi202020-04-09 18:29:55 +0530
commit191306feb7943f02e716e2ecca2173ba78ac229e (patch)
tree251982f2f6812b77c4b8e9d41f6e7f4f7a3c7683
parent6a4784cd6611bc3bc0a40445ea6f56b1bb46856c (diff)
downloadarduino_projects_blog-191306feb7943f02e716e2ecca2173ba78ac229e.tar.gz
arduino_projects_blog-191306feb7943f02e716e2ecca2173ba78ac229e.tar.bz2
arduino_projects_blog-191306feb7943f02e716e2ecca2173ba78ac229e.zip
Add resubmission status to check if proposal is present
-rwxr-xr-xproposal.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/proposal.inc b/proposal.inc
index ad99f21..9557de6 100755
--- a/proposal.inc
+++ b/proposal.inc
@@ -35,7 +35,7 @@ function arduino_projects_blog_proposal_form($form, &$form_state, $no_js_use = F
$proposal_data = $proposal_q->fetchObject();
if ($proposal_data)
{
- if ($proposal_data->approval_status == 0 || $proposal_data->approval_status == 1)
+ if ($proposal_data->approval_status == 0 || $proposal_data->approval_status == 1 || $proposal_data->approval_status == 2)
{
drupal_set_message(t('We have already received your proposal.'), 'status');
drupal_goto('');