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:
authorJoey3000 <Joey3000@users.noreply.github.com>2015-09-17 02:51:26 +0300
committerJoey3000 <Joey3000@users.noreply.github.com>2015-09-17 02:51:26 +0300
commita2962c3d10a43e9b7f0fe2fe43364d707f3cefba (patch)
tree135c9fc99886017eb7da4889f85f0a50ab6aff5f /plugins/Login/Controller.php
parentcb813d75533e298a92071462948204c266b37dbe (diff)
Fixed hardcoded Login module references
Replaced with the official Piwik::getLoginPluginName()
Diffstat (limited to 'plugins/Login/Controller.php')
-rw-r--r--plugins/Login/Controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Login/Controller.php b/plugins/Login/Controller.php
index fa11c2574c..0bdb864e96 100644
--- a/plugins/Login/Controller.php
+++ b/plugins/Login/Controller.php
@@ -176,7 +176,7 @@ class Controller extends \Piwik\Plugin\Controller
</div>',
Piwik::translate('General_Error'),
htmlentities($errorMessage, Common::HTML_ENCODING_QUOTE_STYLE, 'UTF-8', $doubleEncode = false),
- 'index.php?module=Login',
+ 'index.php?module=' . Piwik::getLoginPluginName(),
Piwik::translate('Login_LogIn')
);
}