diff --git a/ProcessMaker/Models/BundleAsset.php b/ProcessMaker/Models/BundleAsset.php index 395b964c63..d0af2d536b 100644 --- a/ProcessMaker/Models/BundleAsset.php +++ b/ProcessMaker/Models/BundleAsset.php @@ -110,7 +110,7 @@ public function getTypeAttribute() public function getOwnerNameAttribute() { - if ($this->asset && method_exists($this->asset, 'user')) { + if ($this->asset && method_exists($this->asset, 'user') && $this->asset->user) { return $this->asset->user->firstname . ' ' . $this->asset->user->lastname; }