mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 02:12:25 +08:00
细节优化
This commit is contained in:
@ -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, '');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user