DataObjects/Person.php
authorAlan Knowles <alan@roojs.com>
Tue, 3 Mar 2015 02:27:12 +0000 (10:27 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 3 Mar 2015 02:27:12 +0000 (10:27 +0800)
DataObjects/Person.php

index 884f479..a595cf8 100644 (file)
@@ -386,6 +386,7 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
             
             
             $u = DB_DataObject::factory($this->tableName()); // allow extending this ...
+            $u->autoJoin();
             if ($u->get($a->id)) { /// && strlen($u->passwd)) {  // should work out the pid .. really..
                 return clone($u);
             }