Fixed #4858 - wrong params for id count

This commit is contained in:
snipe 2018-01-24 04:24:45 -08:00
parent e20cd42cc2
commit b37f78dbbf

View file

@ -1088,7 +1088,7 @@ class AssetsController extends Controller
\Log::debug($request->input('ids'));
if (($request->has('ids')) && (count($request->input('ids') > 0))) {
if (($request->has('ids')) && (count($request->input('ids')) > 0)) {
$assets = $request->input('ids');
if (($request->has('purchase_date'))
|| ($request->has('purchase_cost'))