From 49a255c8fbc2480744e6c8ef8685d975498607f6 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 31 May 2019 14:11:43 -0700 Subject: [PATCH] Changed has to filled to fix bulk asset editing --- app/Http/Controllers/BulkAssetsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/BulkAssetsController.php b/app/Http/Controllers/BulkAssetsController.php index 38a2009470..eab7ce0cc7 100644 --- a/app/Http/Controllers/BulkAssetsController.php +++ b/app/Http/Controllers/BulkAssetsController.php @@ -137,7 +137,7 @@ class BulkAssetsController extends Controller */ protected function conditionallyAddItem($field) { - if(request()->has($field)) { + if(request()->filled($field)) { $this->update_array[$field] = request()->input($field); } return $this;