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;