From d5f987d031fd3135221ecdc14c6ca65f0dca60b0 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 15 Oct 2018 13:30:49 +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 afb90eb9..de765b93 100644 --- a/DataObjects/Core_person.php +++ b/DataObjects/Core_person.php @@ -407,7 +407,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject //var_dump(array(get_class($this),$sesPrefix .'-auth')); if (self::$authUser) { - $a = unserialize($_SESSION[get_class($this)][$sesPrefix .'-auth']); + $a = self::$authUser; // are they still allowed to do stuff.. $u = DB_DataObject::factory($this->tableName()); // allow extending this ... $u->autoJoin(); -- 2.39.2