From: Alan Knowles Date: Mon, 15 Oct 2018 05:29:28 +0000 (+0800) Subject: DataObjects/Core_person.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=975030a0bd877736c1fc0aafc9cfcedea8c2b81a DataObjects/Core_person.php --- 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 ...