A free open source IT asset/license management system
wrap comment
Godfrey M281ff6ad5da2
diff --git a/app/Console/Commands/SendAcceptanceReminder.php b/app/Console/Commands/SendAcceptanceReminder.phpindex e9eb5c18f5..2de991a3af 100644--- a/app/Console/Commands/SendAcceptanceReminder.php+++ b/app/Console/Commands/SendAcceptanceReminder.php@@ -68,7 +68,8 @@ class SendAcceptanceReminder extends Command$no_mail_address = [];foreach($unacceptedAssetGroups as $unacceptedAssetGroup) {- //the [0] is weird, but it allows for the item_count to work and grabs the appropriate info for each user. collapsing and flattening the query doesn't work above.+ // The [0] is weird, but it allows for the item_count to work and grabs the appropriate info for each user.+ // Collapsing and flattening the collection doesn't work above.$acceptance = $unacceptedAssetGroup[0]['acceptance'];$locale = $acceptance->assignedTo?->locale;$email = $acceptance->assignedTo?->email;