projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e7900e
)
DataObjects/Person.php
author
Alan Knowles
<alan@roojs.com>
Mon, 2 Mar 2015 07:03:17 +0000
(15:03 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 2 Mar 2015 07:03:17 +0000
(15:03 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
c06ed4d
..
68c544b
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-381,7
+381,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(
'Person'
);
+ $u = DB_DataObject::factory(
$a->__table
);
if ($u->get($a->id)) { /// && strlen($u->passwd)) {
return clone($u);
}