diff options
author | Sashi20 | 2020-03-20 12:09:39 +0530 |
---|---|---|
committer | Sashi20 | 2020-03-20 12:09:39 +0530 |
commit | 6407cb493bd37603fc8ff360427a9488e66ffca8 (patch) | |
tree | e8ceff2dfef26253dbb51c232d04fd2c2c660998 | |
parent | 1d237abcd939667261712c5122cab7239f56a8b6 (diff) | |
download | om_pssp-6407cb493bd37603fc8ff360427a9488e66ffca8.tar.gz om_pssp-6407cb493bd37603fc8ff360427a9488e66ffca8.tar.bz2 om_pssp-6407cb493bd37603fc8ff360427a9488e66ffca8.zip |
Modify the condition to check id of the proposal in list of mentor certificates
-rwxr-xr-x | pdf/list_mentor_certificates.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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('<strong>You need to propose a flowsheet <a href="http://dwsim.fossee.in/flowsheeting-project/proposal">Flowsheet Proposal</a></strong> or if you have already proposed then your flowsheet is under reviewing process', 'status'); return ''; } //$exist_id->id < 3 |