mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-04 15:55:31 +00:00
Remove Parsefloat. Again.
This commit is contained in:
@ -155,7 +155,7 @@ class AssetsController extends Controller
|
||||
if (e(Input::get('purchase_cost')) == '') {
|
||||
$asset->purchase_cost = null;
|
||||
} else {
|
||||
$asset->purchase_cost = \App\Helpers\Helper::ParseFloat(e(Input::get('purchase_cost')));
|
||||
$asset->purchase_cost = (e(Input::get('purchase_cost')));
|
||||
}
|
||||
|
||||
if (e(Input::get('purchase_date')) == '') {
|
||||
|
||||
Reference in New Issue
Block a user