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:
Diffstat (limited to 'core/FrontController.php')
-rw-r--r--core/FrontController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/FrontController.php b/core/FrontController.php
index bb1d69308f..a077820e5c 100644
--- a/core/FrontController.php
+++ b/core/FrontController.php
@@ -471,7 +471,7 @@ class FrontController extends Singleton
$isAllWebsitesReferer = !empty($_SERVER['HTTP_REFERER']) && strpos($_SERVER['HTTP_REFERER'], 'module=MultiSites&action=index') !== false;
if ($isDashboardReferer
- && !empty($POST['token_auth'])
+ && !empty($_POST['token_auth'])
&& Common::getRequestVar('widget', 0, 'int') === 1) {
Session::close();
}