Skip to content

Commit

Permalink
Fix Matchgrid build parameter type (NOJIRA)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benn Oshrin committed Sep 30, 2021
1 parent e633d46 commit f735b11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/Controller/MatchgridsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f735b11

Please sign in to comment.