DataObjects/Core_person.php
authorAlan Knowles <alan@roojs.com>
Mon, 15 Oct 2018 05:30:49 +0000 (13:30 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 15 Oct 2018 05:30:49 +0000 (13:30 +0800)
DataObjects/Core_person.php

index afb90eb..de765b9 100644 (file)
@@ -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();