diff --git a/webapp/controller/MatchController.class.php b/webapp/controller/MatchController.class.php index 28644d17..6be37b1f 100644 --- a/webapp/controller/MatchController.class.php +++ b/webapp/controller/MatchController.class.php @@ -32,6 +32,9 @@ class MatchController extends BaseAuthedController { $this->_rspErr(1, 'The team has been disbanded'); return; } + $matchInfo = array( + + ); $matchOkDb = $this->readMatchOk($r, $teamUuid); if ($matchOkDb) { $this->refreshKeyExpire($r, MATCH_OK_KEY . $teamUuid, 1000*600); @@ -52,9 +55,7 @@ class MatchController extends BaseAuthedController { } } } - $this->_rspData(array( - 'team_info' => $teamDb - )); + $this->_rspData($matchInfo); } public function cancel()