From 2bde43c564d314bbefa2bd35db55e898e5652177 Mon Sep 17 00:00:00 2001 From: Thomas Steur <thomas.steur@gmail.com> Date: Tue, 24 Sep 2013 05:29:53 +0000 Subject: [PATCH] refs #4053 use const to get nonce --- plugins/CorePluginsAdmin/Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/CorePluginsAdmin/Controller.php b/plugins/CorePluginsAdmin/Controller.php index 4383bfb5d3..cf83b013e1 100644 --- a/plugins/CorePluginsAdmin/Controller.php +++ b/plugins/CorePluginsAdmin/Controller.php @@ -68,7 +68,7 @@ class Controller extends \Piwik\Controller\Admin public function installPlugin() { $view = $this->createUpdateOrInstallView('installPlugin', static::INSTALL_NONCE); - $view->nonce = Nonce::getNonce('CorePluginsAdmin.activatePlugin'); + $view->nonce = Nonce::getNonce(static::ACTIVATE_NONCE); echo $view->render(); } -- GitLab