Skip to content

Commit

Permalink
Merge pull request #16148 from spencerrlongg/bug/sc-27619
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe authored Jan 29, 2025
2 parents fd60ce1 + 0defed9 commit d906f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Listeners/CheckoutableListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public function onCheckedIn($event)
$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
Expand Down

0 comments on commit d906f3c

Please sign in to comment.