Skip to content

Commit

Permalink
ZenHub #984 - Fix Comment Name in Email
Browse files Browse the repository at this point in the history
ZenHub #984 - Fix Comment Name in Email
  • Loading branch information
telusdcinco committed Jul 12, 2023
1 parent 075b894 commit 4035cbb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Http/Controllers/GoalController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1301,8 +1301,7 @@ public function addComment(Request $request, $id)
$sendMail->template = 'EMPLOYEE_COMMENT_THE_GOAL';

array_push($sendMail->bindvariables, $goal->user->name);
// array_push($sendMail->bindvariables, $user->reportingManager->name ); // %2 Person who added the comment
array_push($sendMail->bindvariables, $curr_user->name ); // %2 Person who added the comment
array_push($sendMail->bindvariables, $comment->user->name ); // %2 Person who added the comment
array_push($sendMail->bindvariables, $goal->title); // %3 Goal title
array_push($sendMail->bindvariables, $comment->comment ); // %4 added comment
$response = $sendMail->sendMailWithGenericTemplate();
Expand Down

0 comments on commit 4035cbb

Please sign in to comment.