diff --git a/app/Models/Consumable.php b/app/Models/Consumable.php index c83aa6106e..b881ec65f3 100644 --- a/app/Models/Consumable.php +++ b/app/Models/Consumable.php @@ -284,7 +284,7 @@ class Consumable extends SnipeModel */ public function checkin_email() { - return $this->category->checkin_email; + return $this->category?->checkin_email; } /**