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