From f11e84c45e08344bc2f1e849d83ad54f018504a2 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 2 Jan 2024 15:19:02 +0800 Subject: [PATCH] 1 --- webapp/controller/MatchController.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webapp/controller/MatchController.class.php b/webapp/controller/MatchController.class.php index e53053e3..a7e84991 100644 --- a/webapp/controller/MatchController.class.php +++ b/webapp/controller/MatchController.class.php @@ -144,6 +144,10 @@ class MatchController extends BaseAuthedController { } else { foreach ($currMatchDb as $key => $val) { $tmpTeamDb = $this->readTeamDb($r, $key); + if ($tmpTeamDb['zid'] != $teamDb['zid'] || + $tmpTeamDb['node_id'] != $teamDb['node_id']) { + continue; + } if (!empty($tmpTeamDb) && $this->_getNowTime() - $val['match_time'] > 120) { array_push($delTeams, $key); } else {