From ac973c330462705fd7150808c66ff65fece7bc3f Mon Sep 17 00:00:00 2001 From: fossee-dell Date: Tue, 31 Oct 2017 15:00:53 +0530 Subject: Email issue fixed for disapproval --- email.inc | 2 +- manage_proposal.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/email.inc b/email.inc index 93cfc74..37d5e8f 100755 --- a/email.inc +++ b/email.inc @@ -115,7 +115,7 @@ Project Guide : ' . $project_guide_name . ' Project Guide Email : ' . $project_guide_email_id . ' Project Title : ' . $proposal_data->project_title . ' -Reason for rejection: : ' . $proposal_data->dissapproval_reason . ' +Reason for rejection : ' . $proposal_data->dissapproval_reason . ' You are welcome to submit a new proposal. diff --git a/manage_proposal.inc b/manage_proposal.inc index 557e5f7..2b017fd 100755 --- a/manage_proposal.inc +++ b/manage_proposal.inc @@ -429,7 +429,7 @@ function circuit_simulation_proposal_approval_form_submit($form, &$form_state) $bcc = $user->mail . ', ' . variable_get('circuit_simulation_emails', ''); $cc = variable_get('circuit_simulation_cc_emails', ''); $params['circuit_simulation_proposal_disapproved']['proposal_id'] = $proposal_id; - $params['circuit_simulation_proposal_disapproved']['user_id'] = $user->uid; + $params['circuit_simulation_proposal_disapproved']['user_id'] = $proposal_data->uid; $params['circuit_simulation_proposal_disapproved']['headers'] = array( 'From' => $from, 'MIME-Version' => '1.0', -- cgit