Skip to content

Commit 96c2eec

Browse files
authored
#11154 Change recreation of the mailable with already existing viewData (#11264)
1 parent 26d6b95 commit 96c2eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/log/Repository.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function logMailable(EmailLogEventType $eventType, Mailable $mailable, Su
146146
$this->model->assocType = Application::ASSOC_TYPE_SUBMISSION;
147147
$this->model->subject = Mail::compileParams(
148148
$clonedMailable->subject,
149-
$clonedMailable->getData(Locale::getLocale())
149+
$clonedMailable->viewData
150150
);
151151

152152
$this->model->save();

0 commit comments

Comments
 (0)