Skip to content

Commit

Permalink
fixed receiver/sender missing bug for homework messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ZsgsDesign committed Oct 31, 2021
1 parent b5b4bba commit 2b97b95
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/Models/Eloquent/Messager/HomeworkMessager.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ public static function formatNewHomeworkMessageToUser($data)
{
[$homeworkString] = self::proceedHomeworkAndGroupInfo($data);

return __('message.homework.new.desc', [
'homeworkList' => $homeworkString
return self::formatUniversalMessage('message.homework.new.desc', [
'homeworkList' => $homeworkString,
'receiver' => $data['receiver'],
'sender' => $data['sender'],
]);
}
}

0 comments on commit 2b97b95

Please sign in to comment.