A free open source IT asset/license management system
Check for IDs in bulk actions
snipe5dcc8efcca53
diff --git a/app/Http/Controllers/Licenses/BulkLicensesController.php b/app/Http/Controllers/Licenses/BulkLicensesController.phpindex 687975e449..d7e9886f1e 100644--- a/app/Http/Controllers/Licenses/BulkLicensesController.php+++ b/app/Http/Controllers/Licenses/BulkLicensesController.php@@ -17,7 +17,7 @@ class BulkLicensesController extends Controller$errors = [];$success_count = 0;- foreach ($request->ids as $id) {+ foreach ($request->input('ids', []) as $id) {$license = License::find($id);if (is_null($license)) {