From cd212b173cc6e780f2c0b8be756f529e04d8731b Mon Sep 17 00:00:00 2001 From: Michael Rasmussen Date: Thu, 4 Jun 2015 20:54:35 +0200 Subject: [PATCH] Fix bug in session handler --- lib/utils.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.inc.php b/lib/utils.inc.php index 0bae909..dc6625a 100644 --- a/lib/utils.inc.php +++ b/lib/utils.inc.php @@ -178,7 +178,7 @@ class Utils { global $CFG; $loggedIn = false; - echo '$this->user: '.$this->user.' $_SESSION['user']: '.$_SESSION['user']; + echo '$this->user: '.$this->user.' $_SESSION[\'user\']: '.$_SESSION['user']; if ($this->user) { $loggedIn = true; } else if (isset($_SESSION['user'])) { -- 2.39.2