Skip to content

Commit c835a1a

Browse files
committed
#11303 add missing locale set in mailable setData
1 parent fa81248 commit c835a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/mail/mailables/DecisionNotifyOtherAuthors.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function setData(?string $locale = null): void
7474
parent::setData($locale);
7575

7676
if (is_null($locale)) {
77-
$locale = Locale::getLocale();
77+
$locale = $this->getLocale() ?? Locale::getLocale();
7878
}
7979

8080
$this->viewData[self::SUBMITTING_AUTHOR_NAME] = $this->getSubmittingAuthorName($locale);

0 commit comments

Comments
 (0)