diff --git a/app/Models/LicenseSeat.php b/app/Models/LicenseSeat.php index 1682430a93..7c98232863 100755 --- a/app/Models/LicenseSeat.php +++ b/app/Models/LicenseSeat.php @@ -76,7 +76,7 @@ class LicenseSeat extends SnipeModel implements ICompanyableChild protected function displayName(): Attribute { return Attribute:: make( - get: fn(mixed $value) => $this->license->name, + get: fn(mixed $value) => $this->license?->name, ); }