From f7faa823da851dc3f76196ede90fa1c1190b515d Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 19 Apr 2023 17:31:43 +1000 Subject: [PATCH] Add form request for product bulk actions --- app/Http/Requests/Product/BulkProductRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/Product/BulkProductRequest.php b/app/Http/Requests/Product/BulkProductRequest.php index 3fe3bb164a..13358dd5fa 100644 --- a/app/Http/Requests/Product/BulkProductRequest.php +++ b/app/Http/Requests/Product/BulkProductRequest.php @@ -41,7 +41,7 @@ class BulkProductRequest extends Request public function prepareForValidation() { $input = $this->all(); -nlog($input); + if (isset($input['ids'])) { $input['ids'] = $this->transformKeys($input['ids']); }