DataObjects/Person.php
authorAlan Knowles <alan@roojs.com>
Mon, 23 Feb 2015 05:32:32 +0000 (13:32 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Feb 2015 05:32:32 +0000 (13:32 +0800)
DataObjects/Person.php

index a19d590..82229a0 100644 (file)
@@ -380,6 +380,10 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
             }
             unset($_SESSION[get_class($this)][$sesPrefix .'-auth']);
         }
+        if (get_class($this) != __CLASS__) {
+            return false;
+        }
+        
         
         if (empty(   $_SESSION[get_class($this)][$sesPrefix .'-empty'] )) {
             $u = DB_DataObject::factory('Person');