diff --git a/app/src/Controller/StandardController.php b/app/src/Controller/StandardController.php index 6215e5b4c..7c5cc0578 100644 --- a/app/src/Controller/StandardController.php +++ b/app/src/Controller/StandardController.php @@ -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); @@ -480,4 +480,4 @@ public function view($id = null) { $matchgrid = $this->Matchgrids->findById($id)->firstOrFail(); $this->set(compact('matchgrid')); }*/ -} \ No newline at end of file +}