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