1
This commit is contained in:
parent
91a6b5c15d
commit
12b0abc9c0
@ -55,6 +55,7 @@ class MatchController extends BaseAuthedController {
|
|||||||
if ($currMatchDb['current_team'] != $teamUuid) {
|
if ($currMatchDb['current_team'] != $teamUuid) {
|
||||||
$this->matchOk($r, $teamUuid, $currMatchDb);
|
$this->matchOk($r, $teamUuid, $currMatchDb);
|
||||||
$this->fillMatchInfo($r, $teamUuid, $matchInfo, $this->readMatchOk($r, $teamUuid));
|
$this->fillMatchInfo($r, $teamUuid, $matchInfo, $this->readMatchOk($r, $teamUuid));
|
||||||
|
} else {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -160,8 +161,10 @@ class MatchController extends BaseAuthedController {
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
$teamDb = $this->readTeamDb($r, $matchOkDb['target_team']);
|
$teamDb = $this->readTeamDb($r, $matchOkDb['target_team']);
|
||||||
|
if (!empty($teamDb) && $teamDb['team_uuid'] != $teamUuid) {
|
||||||
array_push($matchInfo['team_list'], $teamDb);
|
array_push($matchInfo['team_list'], $teamDb);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user