From 975030a0bd877736c1fc0aafc9cfcedea8c2b81a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 15 Oct 2018 13:29:28 +0800 Subject: [PATCH] DataObjects/Core_person.php --- DataObjects/Core_person.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataObjects/Core_person.php b/DataObjects/Core_person.php index 700567b8..8285350a 100644 --- a/DataObjects/Core_person.php +++ b/DataObjects/Core_person.php @@ -405,7 +405,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject //var_dump(array(get_class($this),$sesPrefix .'-auth')); - if (!empty($_SESSION[get_class($this)][$sesPrefix .'-auth'])) { + if (self::$authUser) { $a = unserialize($_SESSION[get_class($this)][$sesPrefix .'-auth']); $u = DB_DataObject::factory($this->tableName()); // allow extending this ... -- 2.39.2