]> git.datanom.net - qtadmin.git/commitdiff
Fix bug in session handler
authorMichael Rasmussen <mir@datanom.net>
Thu, 4 Jun 2015 23:10:17 +0000 (01:10 +0200)
committerMichael Rasmussen <mir@datanom.net>
Thu, 4 Jun 2015 23:10:17 +0000 (01:10 +0200)
lib/utils.inc.php

index 5abc5863eeb71c51ad3a9aea19f93c42b8e8098c..13d5ec9cde900d96fa8562313e81e83823151b9d 100644 (file)
@@ -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();
             }
This page took 0.030647 seconds and 5 git commands to generate.