mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 11:43:47 -08:00
Fixed incorrect has vs input
This commit is contained in:
parent
cc5eee1890
commit
cefdca3d22
|
@ -1107,7 +1107,7 @@ class AssetsController extends Controller
|
|||
$update_array['purchase_date'] = $request->input('purchase_date');
|
||||
}
|
||||
if ($request->has('purchase_cost')) {
|
||||
$update_array['purchase_cost'] = Helper::ParseFloat($request->has('purchase_cost'));
|
||||
$update_array['purchase_cost'] = Helper::ParseFloat($request->input('purchase_cost'));
|
||||
}
|
||||
if ($request->has('supplier_id')) {
|
||||
$update_array['supplier_id'] = $request->input('supplier_id');
|
||||
|
|
Loading…
Reference in a new issue