diff options
author | Sashi20 | 2020-07-22 16:05:06 +0530 |
---|---|---|
committer | GitHub | 2020-07-22 16:05:06 +0530 |
commit | 6cf1ae3197d43c264fad65e094c4ebc04a596a7b (patch) | |
tree | 7c816fabe89c308f09f5425e5787bbef347b21ed | |
parent | 49b4e5c50f73abc2454225b528e4cf85000d8be6 (diff) | |
parent | ddfa57ef75f2ff0314f0253461d6bd73525000fd (diff) | |
download | om_pssp-6cf1ae3197d43c264fad65e094c4ebc04a596a7b.tar.gz om_pssp-6cf1ae3197d43c264fad65e094c4ebc04a596a7b.tar.bz2 om_pssp-6cf1ae3197d43c264fad65e094c4ebc04a596a7b.zip |
Merge pull request #17 from Sashi20/master
Display message for blank contact number in status
-rwxr-xr-x | manage_proposal.inc | 8 |
1 files changed, 8 insertions, 0 deletions
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), |