Skip to content

Commit 6db9b66

Browse files
authored
#11154 Change recreation of the mailable with already existing viewData (#11263)
1 parent 8b0943f commit 6db9b66

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
@@ -139,7 +139,7 @@ public function logMailable(EmailLogEventType $eventType, Mailable $mailable, Su
139139
$this->model->assocType = Application::ASSOC_TYPE_SUBMISSION;
140140
$this->model->subject = Mail::compileParams(
141141
$clonedMailable->subject,
142-
$clonedMailable->getData(Locale::getLocale())
142+
$clonedMailable->viewData
143143
);
144144

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

0 commit comments

Comments
 (0)