Skip to content

Commit

Permalink
[NO JIRA] StandardController.php#generateRedirect() (#14)
Browse files Browse the repository at this point in the history
Fix broken query parameter
  • Loading branch information
Ioannis authored Sep 27, 2021
1 parent 905daa1 commit e633d46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/Controller/StandardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public function generateRedirect() {
$link = $this->getPrimaryLink(true);

if(!empty($link)) {
$redirect[ $link['linkattr'] ] = $link['linkvalue'];
$redirect['?'] = [ $link['linkattr'] => $link['linkvalue'] ];
}

return $this->redirect($redirect);
Expand Down Expand Up @@ -480,4 +480,4 @@ public function view($id = null) {
$matchgrid = $this->Matchgrids->findById($id)->firstOrFail();
$this->set(compact('matchgrid'));
}*/
}
}

0 comments on commit e633d46

Please sign in to comment.