From be917a0fc8ef7ab578cf79908ccad8a490b6397f Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 3 Apr 2024 11:48:56 +0800 Subject: [PATCH] 1 --- webapp/controller/BattleController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/BattleController.class.php b/webapp/controller/BattleController.class.php index 94a2baef..4b1a4ed8 100644 --- a/webapp/controller/BattleController.class.php +++ b/webapp/controller/BattleController.class.php @@ -537,7 +537,7 @@ class BattleController extends BaseAuthedController { $info['battle_times'] = getXVal($seasonBattleData, 'total_battle_times', 0); } - $heroDb = Hero::findByAccountId($accountId,$info['hero_uniid']); + $heroDb = Hero::findByAccountId($accountId,$member['hero_uniid']); if ($heroDb) { $info['is_valid_battle'] = 1; $info['hero_dto'] = Hero::toDto($heroDb);