X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FCore_person.php;h=028bb3bad3336b0f6c6f7a72977c3256c9b74d96;hp=29d3cbd37a012d477f9caeb39789371a5dbcb65b;hb=07947bfe0b8f4e14739fde64aadf5b323ff69f75;hpb=bdc42ad7d7a221122018aabd7e6064adb093498d diff --git a/DataObjects/Core_person.php b/DataObjects/Core_person.php index 29d3cbd3..028bb3ba 100644 --- a/DataObjects/Core_person.php +++ b/DataObjects/Core_person.php @@ -413,7 +413,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject setcookie('Pman.timeout', time() + (30*60), time() + (30*60), '/'); } - return = clone (self::$authUser); + return clone (self::$authUser); } @@ -485,6 +485,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject // we should not store the whole data in the session - otherwise it get's huge. $p = DB_DAtaObject::Factory($this->tableName()); + $p->autoJoin(); $p->get($this->pid()); $d = $p->toArray();