projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89347c6
)
DataObjects/Person.php
author
Alan Knowles
<alan@roojs.com>
Mon, 23 Feb 2015 05:32:32 +0000
(13:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 23 Feb 2015 05:32:32 +0000
(13:32 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
a19d590
..
82229a0
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-380,6
+380,10
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
}
unset($_SESSION[get_class($this)][$sesPrefix .'-auth']);
}
+ if (get_class($this) != __CLASS__) {
+ return false;
+ }
+
if (empty( $_SESSION[get_class($this)][$sesPrefix .'-empty'] )) {
$u = DB_DataObject::factory('Person');