DataObjects/Person.php
authorAlan Knowles <alan@roojs.com>
Mon, 2 Mar 2015 08:23:23 +0000 (16:23 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 2 Mar 2015 08:23:23 +0000 (16:23 +0800)
DataObjects/Person.php

index c7dc655..7b20ac1 100644 (file)
@@ -379,7 +379,7 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
         if (!empty($_SESSION[get_class($this)][$sesPrefix .'-auth'])) {
             $a = unserialize($_SESSION[get_class($this)][$sesPrefix .'-auth']);
             
-            $u = DB_DataObject::factory($this->getTableName()); // allow extending this ...
+            $u = DB_DataObject::factory($this->tableName()); // allow extending this ...
             if ($u->get($a->id)) { /// && strlen($u->passwd)) {  // should work out the pid .. really..
                 return clone($u);
             }