projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb71e97
)
DataObjects/Core_person.php
author
john
<john@roojs.com>
Thu, 11 Oct 2018 03:34:48 +0000
(11:34 +0800)
committer
john
<john@roojs.com>
Thu, 11 Oct 2018 03:34:48 +0000
(11:34 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
3f6753f
..
2e99395
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-777,6
+777,8
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
$hash = $this->getOathKey();
+ $_SESSION[__CLASS__] = isset($_SESSION[__CLASS__]) ? $_SESSION[__CLASS__] : array();
+ $_SESSION[__CLASS__]['oath'] = isset($_SESSION[__CLASS__]['oath']) ? $_SESSION[__CLASS__]['oath'] : array();
$_SESSION[__CLASS__]['oath'][$person->id] = $hash;
$qrcode = $person->generateQRCode($hash);