mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-28 23:19:42 -08:00
add null safe operator to acceptance reminder
This commit is contained in:
parent
5014a95d9a
commit
2e97b56deb
|
@ -72,7 +72,7 @@ class SendAcceptanceReminder extends Command
|
|||
$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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue