diff --git a/webapp/controller/MarketController.class.php b/webapp/controller/MarketController.class.php index 8fc8a6e8..a4529f9d 100644 --- a/webapp/controller/MarketController.class.php +++ b/webapp/controller/MarketController.class.php @@ -1877,7 +1877,10 @@ class MarketController extends BaseAuthedController 'status' => 0, ) ); - if ($row['item_id'] == null) { + if (!$row) { + return null; + } + if (!$row['item_id']) { return null; } return $row;