Skip to content

Commit 6ea7018

Browse files
authored
Remove invalid second argument from LayoutFile::render() call (#47377)
1 parent cd03bed commit 6ea7018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/src/Mail/MailTemplate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ public function send()
389389
]);
390390
}
391391

392-
$htmlBody = $layoutFile->render(['mail' => $htmlBody, 'extra' => $this->layoutTemplateData], null);
392+
$htmlBody = $layoutFile->render(['mail' => $htmlBody, 'extra' => $this->layoutTemplateData]);
393393

394394
$htmlBody = $this->replaceTags(Text::_($htmlBody), $this->data);
395395
}

0 commit comments

Comments
 (0)