From b96080626b4a747149bd4248d9ca7f5a2c9dd1eb Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 26 Aug 2023 11:35:10 +0800 Subject: [PATCH] 1 --- webapp/controller/StakingController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/controller/StakingController.class.php b/webapp/controller/StakingController.class.php index e9779190..f5b5544d 100644 --- a/webapp/controller/StakingController.class.php +++ b/webapp/controller/StakingController.class.php @@ -37,8 +37,9 @@ class StackingController extends BaseAuthedController { myself()->_rspData($info); } - private function fillStackingInfo(&$info, $rows) + private function fillStackingInfo(&$info, $fieldName, $rows) { + $stackingInfo = $info[$fieldName]; $stackingInfo['staked_quant'] = 0; $stackingInfo['claim_rewards'] = 0; $stackingInfo['daily_rewards'] = 0;