From ddfa57ef75f2ff0314f0253461d6bd73525000fd Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Wed, 22 Jul 2020 16:01:29 +0530 Subject: Display message for blank contact number in status --- manage_proposal.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/manage_proposal.inc b/manage_proposal.inc index 276bd54..7e7103a 100755 --- a/manage_proposal.inc +++ b/manage_proposal.inc @@ -435,6 +435,14 @@ function om_pssp_proposal_status_form($form, &$form_state) drupal_goto('powersystems/pssp/manage-proposal'); return; } + if ($proposal_data->contact_no == "NULL" || $proposal_data->contact_no == "") + { + $contact_no = "Not Entered"; + } //$proposal_data->project_guide_name == NULL + else + { + $contact_no = $proposal_data->contact_no; + } $form['contributor_name'] = array( '#type' => 'item', '#markup' => l($proposal_data->name_title . ' ' . $proposal_data->contributor_name, 'user/' . $proposal_data->uid), -- cgit