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

index a66f145..43c4c75 100644 (file)
@@ -797,6 +797,11 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
         if(!empty($q['oath_key_disable'])) {
             
             $au = $this->getAuthUser();
+            
+            if(empty($au)) {
+                $roo->jerr('Please login to the system');
+            }
+            
             $o = clone($au);
         }