DataObjects/Core_person.php
authorjohn <john@roojs.com>
Tue, 9 Oct 2018 05:53:41 +0000 (13:53 +0800)
committerjohn <john@roojs.com>
Tue, 9 Oct 2018 05:53:41 +0000 (13:53 +0800)
DataObjects/Core_person.php

index 6959940..18f590e 100644 (file)
@@ -670,6 +670,8 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
         $aur['dailykey'] = '';
         $aur['oath_key'] = '';
         
+        $aur['oath_key_enable'] = !empty($this->oath_key);
+        
         return $aur;
     }