From: john Date: Wed, 10 Oct 2018 03:57:46 +0000 (+0800) Subject: DataObjects/Core_person.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=e68c7f487b53d6c945391a191d95a79bbe3ef11f DataObjects/Core_person.php --- diff --git a/DataObjects/Core_person.php b/DataObjects/Core_person.php index ce026945..59b93c13 100644 --- a/DataObjects/Core_person.php +++ b/DataObjects/Core_person.php @@ -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'); }