no checked out to email doesnt trigger a 500

This commit is contained in:
Godfrey M 2024-11-20 08:29:28 -08:00
parent 5522def054
commit f7c1fc852d

View file

@ -307,7 +307,7 @@ class CheckoutableListener
return $event->checkedOutTo->manager?->email ?? '';
}
else{
return $event->checkedOutTo->email;
return $event->checkedOutTo?->email ?? '';
}
}