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,
|
default => null,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!$category->checkin_email) {
|
if (!$category?->checkin_email) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue