mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-05 19:07:30 -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;
|
$locale = $acceptance->assignedTo?->locale;
|
||||||
$email = $acceptance->assignedTo?->email;
|
$email = $acceptance->assignedTo?->email;
|
||||||
if(!$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();
|
$item_count = $unacceptedAssetGroup->count();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue