From 2e97b56debf9a9e1e0db38ea4512c8b34665008f Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Wed, 11 Dec 2024 09:27:27 -0800 Subject: [PATCH] add null safe operator to acceptance reminder --- app/Console/Commands/SendAcceptanceReminder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/SendAcceptanceReminder.php b/app/Console/Commands/SendAcceptanceReminder.php index 754d189720c..f4ab2c5b68e 100644 --- a/app/Console/Commands/SendAcceptanceReminder.php +++ b/app/Console/Commands/SendAcceptanceReminder.php @@ -72,7 +72,7 @@ public function handle() $locale = $acceptance->assignedTo?->locale; $email = $acceptance->assignedTo?->email; if(!$email){ - $this->info($acceptance->assignedTo->present()->fullName().' has no email address.'); + $this->info($acceptance->assignedTo?->present()->fullName().' has no email address.'); } $item_count = $unacceptedAssetGroup->count();