From fee9be2d72899ad49a1bfcbd493853c4eefdeb88 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 26 Aug 2023 08:24:28 +0800 Subject: [PATCH] 1 --- webapp/controller/StakingController.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/controller/StakingController.class.php b/webapp/controller/StakingController.class.php index 339d9310..f9e53f68 100644 --- a/webapp/controller/StakingController.class.php +++ b/webapp/controller/StakingController.class.php @@ -55,6 +55,9 @@ class StackingController extends BaseAuthedController { private function fillStackingInfo($info, $rows) { foreach ($rows as $row) { + if (!$this->isTypeNft($info['type'], $row)) { + continue; + } switch ($info['type']) { case self::PLANET_TYPE: {