mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-01 00:47:27 -08:00
Merge pull request #15954 from Godmartinz/null_fix-for-reminder-command
This commit is contained in:
commit
66339481cf
|
@ -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