3
0
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:
Marcus Moore
2025-06-10 10:43:02 -07:00
parent 358b70e280
commit 4e06b597fe

View File

@ -284,7 +284,7 @@ class Consumable extends SnipeModel
*/
public function checkin_email()
{
return $this->category->checkin_email;
return $this->category?->checkin_email;
}
/**