Skip to content

Commit b47c9ce

Browse files
committed
LOOP-1158: Fixed handling of mail body
1 parent 537684b commit b47c9ce

File tree

1 file changed

+1
-1
lines changed
  • web/profiles/custom/os2loop/modules/os2loop_mail_notifications/src/Plugin/Mail

1 file changed

+1
-1
lines changed

web/profiles/custom/os2loop/modules/os2loop_mail_notifications/src/Plugin/Mail/PhpMail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class PhpMail extends PhpMailBase implements MailInterface {
2626
* The formatted $message.
2727
*/
2828
public function format(array $message) {
29-
$message['body'] = $message['params']['messages_with_headings'];
29+
$message['body'] = implode("\n\n", $message['body']);
3030

3131
return $message;
3232
}

0 commit comments

Comments
 (0)