projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ab8b69
)
DataObjects/Person.php
author
Alan Knowles
<alan@roojs.com>
Mon, 23 Feb 2015 05:25:46 +0000
(13:25 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 23 Feb 2015 05:25:46 +0000
(13:25 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
bf7653b
..
01aa77b
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-263,9
+263,9
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
@session_start();
- if (!empty($_SESSION[
__CLASS__
][$sesPrefix .'-auth'])) {
+ if (!empty($_SESSION[
get_class($this)
][$sesPrefix .'-auth'])) {
// in session...
- $a = unserialize($_SESSION[
__CLASS__
][$sesPrefix .'-auth']);
+ $a = unserialize($_SESSION[
get_class($this)
][$sesPrefix .'-auth']);
$u = DB_DataObject::factory('Person');
if ($u->get($a->id)) { //&& strlen($u->passwd)) {