From 0f9549a5088b1a76553e8af3f2ae14afb2a5e3c9 Mon Sep 17 00:00:00 2001 From: Michael Rasmussen Date: Fri, 5 Jun 2015 01:10:17 +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 5abc586..13d5ec9 100644 --- a/lib/utils.inc.php +++ b/lib/utils.inc.php @@ -97,7 +97,7 @@ class Utils implements Serializable { if (!is_object(self::$_instance)) { if (isset($_SESSION['Utils'])) { self::$_instance = unserialize($_SESSION['Utils']); - file_put_contents('/tmp/dump', 'Unserialize called: '.var_export($this, true), FILE_APPEND); + file_put_contents('/tmp/dump', 'Unserialize called: '.var_export(self::$_instance, true), FILE_APPEND); } else { self::$_instance = new Utils(); } -- 2.39.5