From 00c6c95eeff3bbae7d4cbc3c1e6e5e3ae0bf34b6 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 29 Aug 2023 11:18:28 +0800 Subject: [PATCH] 1 --- webapp/controller/StakingController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/StakingController.class.php b/webapp/controller/StakingController.class.php index b0bcffcc..fcdf2e64 100644 --- a/webapp/controller/StakingController.class.php +++ b/webapp/controller/StakingController.class.php @@ -99,7 +99,7 @@ class StakingController extends BaseAuthedController { $rows = Staking::all(myself()->_getAddress()); foreach ($rows as $row) { if ($row['status'] == Staking::REDEEM_STATUS) { - array_push($items, Staking::toDto($info)); + array_push($items, Staking::toDto($row)); } } myself()->_rspData(array(