From f735b118e4a79361e0bc677e06729ae51af1b53c Mon Sep 17 00:00:00 2001 From: Benn Oshrin Date: Thu, 30 Sep 2021 13:23:08 -0400 Subject: [PATCH] Fix Matchgrid build parameter type (NOJIRA) --- app/src/Controller/MatchgridsController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {