mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Fixed #4858 - wrong params for id count
This commit is contained in:
parent
e20cd42cc2
commit
b37f78dbbf
|
@ -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'))
|
||||
|
|
Loading…
Reference in a new issue