From 6407cb493bd37603fc8ff360427a9488e66ffca8 Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Fri, 20 Mar 2020 12:09:39 +0530 Subject: Modify the condition to check id of the proposal in list of mentor certificates --- pdf/list_mentor_certificates.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf/list_mentor_certificates.inc b/pdf/list_mentor_certificates.inc index bf8f024..123a843 100755 --- a/pdf/list_mentor_certificates.inc +++ b/pdf/list_mentor_certificates.inc @@ -6,7 +6,7 @@ function _list_pssp_custom_certificates() $exist_id = $query_id->fetchObject(); if ($exist_id){ if ($exist_id->id) { - if ($exist_id->id < 3) { + if ($exist_id->id < 1) { drupal_set_message('You need to propose a flowsheet Flowsheet Proposal or if you have already proposed then your flowsheet is under reviewing process', 'status'); return ''; } //$exist_id->id < 3 -- cgit