aboutsummaryrefslogtreecommitdiff
path: root/app/views/index
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-13 19:10:32 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-13 19:10:32 +0200
commit56ffc115d15bf136bfced74707ccc1f41c7b5e44 (patch)
tree6149b276b06d5d8fe295c020bed842f91c0bcd15 /app/views/index
parente6fd34bdda5d067a9e74714aaae10c89ed998a46 (diff)
Do not mix POST and GET params
Avoid returning CSRF POST token for a GET
Diffstat (limited to 'app/views/index')
-rw-r--r--app/views/index/global.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/index/global.phtml b/app/views/index/global.phtml
index 0ffa3bc54..1e53e4f8c 100644
--- a/app/views/index/global.phtml
+++ b/app/views/index/global.phtml
@@ -14,7 +14,7 @@
$url_base = array(
'c' => 'index',
'a' => 'normal',
- 'params' => Minz_Request::params()
+ 'params' => Minz_Request::fetchGET(),
);
foreach ($this->categories as $cat) {