From 191306feb7943f02e716e2ecca2173ba78ac229e Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Thu, 9 Apr 2020 18:29:55 +0530 Subject: Add resubmission status to check if proposal is present --- proposal.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(''); -- cgit