DataObjects/Core_person.php
authorjohn <john@roojs.com>
Tue, 9 Oct 2018 08:55:16 +0000 (16:55 +0800)
committerjohn <john@roojs.com>
Tue, 9 Oct 2018 08:55:16 +0000 (16:55 +0800)
DataObjects/Core_person.php

index a3828b0..ecc1cd7 100644 (file)
@@ -778,7 +778,9 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
             
             $au->generateOathKey();
             
-            $o = clone($this);
+            $o = clone($au);
+            
+            $au->update($o);
             
             $qrcode = $au->generateQRCode();