From dffc695268f8c20a10825eb3df9d6a6e19aa17e5 Mon Sep 17 00:00:00 2001 From: Ioannis Igoumenos Date: Mon, 27 Sep 2021 22:20:22 +0300 Subject: [PATCH] [NO JIRA] StandardController.php#generateRedirect() Fix broken query parameter --- app/src/Controller/StandardController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}