Merge pull request #16148 from spencerrlongg/bug/sc-27619

This commit is contained in:
snipe
2025-01-29 21:05:08 +00:00
committed by GitHub
+1 -1
View File
@@ -156,7 +156,7 @@ class CheckoutableListener
$ccEmails = array_filter($adminCcEmailsArray);
$mailable = $this->getCheckinMailType($event);
$notifiable = $this->getNotifiables($event);
if ($event->checkedOutTo->locale){
if ($event->checkedOutTo?->locale) {
$mailable->locale($event->checkedOutTo->locale);
}
// Send email notifications