sync
authorjohn <john@roojs.com>
Fri, 24 Aug 2018 04:27:51 +0000 (12:27 +0800)
committerjohn <john@roojs.com>
Fri, 24 Aug 2018 04:27:51 +0000 (12:27 +0800)
DataObjects/Core_person.php

index 97a799d..a8f4757 100644 (file)
@@ -438,7 +438,10 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
         }
                 
              
-        if (isset(   $_SESSION[get_class($this)][$sesPrefix .'-empty'] ) && $_SESSION[get_class($this)][$sesPrefix .'-empty']  < 1) {
+        if (
+            isset(   $_SESSION[get_class($this)][$sesPrefix .'-empty'] ) && 
+            $_SESSION[get_class($this)][$sesPrefix .'-empty']  < 1
+        ) {
             
             // fake person - open system..
             //$ce = DB_DataObject::factory('core_enum');