From 928813b5decc0e2f09e02fa019d48b5dee8e82d0 Mon Sep 17 00:00:00 2001 From: Devil Date: Sun, 8 Dec 2019 01:38:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/common.php b/application/common.php index d6699105c..a5983f68e 100755 --- a/application/common.php +++ b/application/common.php @@ -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, ''); }