A free open source IT asset/license management system
Add comment
Marcus Moore2d1d90e38ce0
diff --git a/app/Mail/BulkAssetCheckoutMail.php b/app/Mail/BulkAssetCheckoutMail.phpindex 4884fa7809..32918fc069 100644--- a/app/Mail/BulkAssetCheckoutMail.php+++ b/app/Mail/BulkAssetCheckoutMail.php@@ -92,9 +92,10 @@ class BulkAssetCheckoutMail extends Mailableprivate function getSingularEula(){- // if assets do not have the same category then return early...+ // get unique categories from all assets$categories = $this->assets->pluck('model.category.id')->unique();+ // if assets do not have the same category then return early...if ($categories->count() > 1) {return null;}