DataObjects/Core_person.php
authorjohn <john@roojs.com>
Wed, 10 Oct 2018 04:26:39 +0000 (12:26 +0800)
committerjohn <john@roojs.com>
Wed, 10 Oct 2018 04:26:39 +0000 (12:26 +0800)
DataObjects/Core_person.php

index 7f2e994..511d310 100644 (file)
@@ -787,7 +787,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
             
             $hash = $this->getOathKey();
             
-            $_SESSION[] = $hash;
+            $_SESSION[__CLASS__]['oath'][$person->id] = $hash;
             
             $qrcode = $person->generateQRCode($hash);