DataObjects/Core_person.php
authorjohn <john@roojs.com>
Tue, 9 Oct 2018 07:47:58 +0000 (15:47 +0800)
committerjohn <john@roojs.com>
Tue, 9 Oct 2018 07:47:58 +0000 (15:47 +0800)
DataObjects/Core_person.php

index e9ffa06..959f537 100644 (file)
@@ -1409,10 +1409,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
     
     function generateQRCode()
     {
-        if(
-            empty($this->oath_key) ||
-            empty($this->email)
-        ){
+        if(empty($this->email)){
             return false;
         }