Handle null category
This commit is contained in:
parent
ddd4065c81
commit
25fdde1807
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