From ef3c4660127e03d3da8b3176963ae40f8218b4db Mon Sep 17 00:00:00 2001 From: Thomas Steur <thomas.steur@gmail.com> Date: Sat, 14 Feb 2015 02:54:33 +0000 Subject: [PATCH] refs #7104 fix typo --- core/FrontController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- GitLab