diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 9daa8c2a..ed26699f 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -1300,7 +1300,7 @@ class ShopController extends BaseAuthedController $goods = mt\ShopGoods::get($id); $goods_id = $goods['goods_id']; $shop_id = $goods['shop_id']; - + $meta = mt\Item::get($goods_id); if ($meta['type'] != mt\Item::CHEST_BOX_TYPE) { $this->_rspErr(2, 'goods_id is invalid');