From a60044fb9017ea18a77c6ac0c57368ac55ddd991 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 16 Apr 2024 11:26:51 +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 18beea33..a862fd8d 100644 --- a/webapp/controller/BattleController.class.php +++ b/webapp/controller/BattleController.class.php @@ -261,7 +261,7 @@ class BattleController extends BaseAuthedController { $realPlayerHash = array(); $realPlayerHashCopy = array(); foreach ($teamList as $team) { - foreach ($team as $member) { + foreach ($team['members'] as $member) { if (!myself()->_isAndroidAccountId($member['account_id'])) { $realPlayerHash[$member['account_id']] = 1; $realPlayerHashCopy[$member['account_id']] = 1;