Changed has to filled to fix bulk asset editing

This commit is contained in:
snipe 2019-05-31 14:11:43 -07:00
parent 925d3a23c6
commit 49a255c8fb

View file

@ -137,7 +137,7 @@ class BulkAssetsController extends Controller
*/ */
protected function conditionallyAddItem($field) protected function conditionallyAddItem($field)
{ {
if(request()->has($field)) { if(request()->filled($field)) {
$this->update_array[$field] = request()->input($field); $this->update_array[$field] = request()->input($field);
} }
return $this; return $this;