mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Remove Parsefloat. Again.
This commit is contained in:
parent
8179fc2f90
commit
aa13b24bbc
|
@ -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')) == '') {
|
||||
|
|
Loading…
Reference in a new issue