diff --git a/webapp/controller/BattleController.class.php b/webapp/controller/BattleController.class.php index 3a324b30..9d09af22 100644 --- a/webapp/controller/BattleController.class.php +++ b/webapp/controller/BattleController.class.php @@ -586,7 +586,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);