diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index a5f63723..7da0ee8e 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -129,7 +129,7 @@ class ShopController extends BaseAuthedController { } $costItemId = $this->getCostItemIdByTokenType($tokenType); - $costItems = $this->makeCostItems($costItemId, $goodsNum * $need_price); + $costItems = $this->makeCostItems($costItemId, $goodsNum * $needPrice); if (!in_array( $tokenType, array(