Merge pull request #16799 from marcusmoore/bug/sc-28990
Handle category being null in CheckoutableListener
This commit is contained in:
commit
a0514ad8c1
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ class CheckoutableListener
|
|||
default => null,
|
||||
};
|
||||
|
||||
if (!$category->checkin_email) {
|
||||
if (!$category?->checkin_email) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue