Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2015-03-12 06:21:50 +0300
committermattab <matthieu.aubry@gmail.com>2015-03-12 06:21:50 +0300
commit4549ec7b51a0aac4b86768bb60ce400ed3c0b2a7 (patch)
tree3f8dc081bca53286100d0026822113fbae156ae1 /plugins/CoreHome/Menu.php
parent73072fc57dafb98d24ba4ea413f170733299f630 (diff)
When a page is displayed and click on 'Sign in' it would fail as the 'action' parameter of that other plugin was forwarded as well
Diffstat (limited to 'plugins/CoreHome/Menu.php')
-rw-r--r--plugins/CoreHome/Menu.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/Menu.php b/plugins/CoreHome/Menu.php
index b2c239885e..f63dc76eec 100644
--- a/plugins/CoreHome/Menu.php
+++ b/plugins/CoreHome/Menu.php
@@ -38,7 +38,7 @@ class Menu extends \Piwik\Plugin\Menu
$module = $this->getLoginModule();
if (Piwik::isUserIsAnonymous()) {
- $menu->addItem('Login_LogIn', null, array('module' => $module), 999);
+ $menu->addItem('Login_LogIn', null, array('module' => $module, 'action' => false), 999);
} else {
$menu->addItem('General_Logout', null, array('module' => $module, 'action' => 'logout', 'idSite' => null), 999);
}