Merge pull request #16799 from marcusmoore/bug/sc-28990

Handle category being null in CheckoutableListener
This commit is contained in:
snipe 2025-04-29 20:37:11 +01:00 committed by GitHub
commit a0514ad8c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -397,7 +397,7 @@ class CheckoutableListener
default => null,
};
if (!$category->checkin_email) {
if (!$category?->checkin_email) {
return true;
}
return false;