细节优化

This commit is contained in:
Devil
2019-12-08 01:38:36 +08:00
parent 7becce665e
commit 928813b5de

View File

@ -452,7 +452,7 @@ function FunEach(&$data)
*/
function PriceNumberFormat($value, $decimals = 2, $dec_point = '.')
{
if(!empty($value))
if(isset($value))
{
return number_format($value, $decimals, $dec_point, '');
}