摘要:
警告内容:Warning: number_format() expects parameter 1 to be double, string given in D:\wamp\www\ecshop_old\includes\lib_common.php on line 966解决这个问题的时候,一开始我也是先到网上查看相关的解决方案,大部分都说是lib_common.php的price_format ()里面的$price变量没有判断$price为空时调用number_format()函数出错,然而ecshop2.7.3上面已经加了相应的判断:if($price==='') { 阅读全文