From 98eeeb8ce821dd80bb2e3080eeb060a3bea432e0 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 2 Apr 2022 13:01:19 +0800 Subject: [PATCH] 1 --- webapp/controller/MarketController.class.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/webapp/controller/MarketController.class.php b/webapp/controller/MarketController.class.php index 06246ee0..845b7cd2 100644 --- a/webapp/controller/MarketController.class.php +++ b/webapp/controller/MarketController.class.php @@ -261,11 +261,7 @@ class MarketController extends BaseController { return; } $itemMeta = mt\Item::get($itemId); - if (!$itemMeta || - empty($itemMeta['nft_image_id']) || - $itemMeta['nft_image_id'] <= 0 || - $itemMeta['nft_image_id'] > 999 - ) { + if (!$itemMeta) { myself()->_rspErr(500, 'server internal error'); return; }