mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-05 18:45:49 +00:00
Handle category missing in Consumable
This commit is contained in:
@ -284,7 +284,7 @@ class Consumable extends SnipeModel
|
||||
*/
|
||||
public function checkin_email()
|
||||
{
|
||||
return $this->category->checkin_email;
|
||||
return $this->category?->checkin_email;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user