mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Changed has to filled to fix bulk asset editing
This commit is contained in:
parent
925d3a23c6
commit
49a255c8fb
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue