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

index 6a8f3e5..7d2ff79 100644 (file)
@@ -279,6 +279,11 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
             unset($_SESSION[get_class($this)][$sesPrefix .'-auth']);
             
         }
+        if (get_class($this) != __CLASS__) {
+            return false;
+        }
+        
+        
         // local auth - 
         $default_admin = false;
         if (!empty($ff->Pman['local_autoauth']) &&