From cdf0040acff8bb8d6767e78999649891904b8dc1 Mon Sep 17 00:00:00 2001 From: Nolan Ehrstrom Date: Fri, 29 Aug 2025 11:53:39 -0700 Subject: [PATCH] Fix bundle asset --- ProcessMaker/Models/BundleAsset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }