DataObjects/Core_person.php
authorjohn <john@roojs.com>
Wed, 10 Oct 2018 03:57:46 +0000 (11:57 +0800)
committerjohn <john@roojs.com>
Wed, 10 Oct 2018 03:57:46 +0000 (11:57 +0800)
DataObjects/Core_person.php

index ce02694..59b93c1 100644 (file)
@@ -771,7 +771,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
         //DB_DataObject::DebugLevel(1);
         if(!empty($q['_generate_oath_key'])){
             $o = clone($this);
-            $this->generateOathKey();
+            $this->oath_key = $this->getOathKey();
             $this->update($o);
             $roo->jok('OK');
         }