diff --git a/app/src/Controller/MatchgridsController.php b/app/src/Controller/MatchgridsController.php index 03c097ce8..cb18f560e 100644 --- a/app/src/Controller/MatchgridsController.php +++ b/app/src/Controller/MatchgridsController.php @@ -64,9 +64,9 @@ public function beforeFilter(EventInterface $event) { * @param Integer $id Matchgrid ID */ - public function build(int $id) { + public function build(string $id) { try { - $this->Matchgrids->build($id); + $this->Matchgrids->build((int)$id); $this->Flash->success(__('match.rs.build')); } catch(Exception $e) {