summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202020-07-22 16:01:29 +0530
committerSashi202020-07-22 16:01:29 +0530
commitddfa57ef75f2ff0314f0253461d6bd73525000fd (patch)
tree7c816fabe89c308f09f5425e5787bbef347b21ed
parent0c816e7442769a693445cc6eb3a211723c944e0f (diff)
downloadom_pssp-ddfa57ef75f2ff0314f0253461d6bd73525000fd.tar.gz
om_pssp-ddfa57ef75f2ff0314f0253461d6bd73525000fd.tar.bz2
om_pssp-ddfa57ef75f2ff0314f0253461d6bd73525000fd.zip
Display message for blank contact number in status
-rwxr-xr-xmanage_proposal.inc8
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),