diff --git a/app/Models/Asset.php b/app/Models/Asset.php index 82c6d97120..6ddc597188 100644 --- a/app/Models/Asset.php +++ b/app/Models/Asset.php @@ -830,7 +830,9 @@ class Asset extends Depreciable */ public function checkin_email() { - return $this->model->category->checkin_email; + if (($this->model) && ($this->model->category)) { + return $this->model->category->checkin_email; + } } /**