From 2c6fec6cd2af2be64dd29ecaaadc2f0e8b1ead9d Mon Sep 17 00:00:00 2001 From: songliang Date: Mon, 3 Jul 2023 17:37:58 +0800 Subject: [PATCH] ... --- webapp/controller/ShopController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 371a1ad6..12c501fe 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -420,7 +420,7 @@ class ShopController extends BaseAuthedController $arrCosts = explode('|', $costs['param_value']); $max_count = count($arrCosts); - $cost = $count < $max_count ? $arrCosts[$count] : null; + $cost = $count < $max_count ? $arrCosts[$count] : -1; $this->_rspData( array(