Handle category missing in Consumable

This commit is contained in:
Marcus Moore
2025-06-10 10:43:02 -07:00
parent 358b70e280
commit 4e06b597fe
+1 -1
View File
@@ -284,7 +284,7 @@ class Consumable extends SnipeModel
*/
public function checkin_email()
{
return $this->category->checkin_email;
return $this->category?->checkin_email;
}
/**