DataObjects/Person.php
authorAlan Knowles <alan@roojs.com>
Mon, 2 Mar 2015 08:25:06 +0000 (16:25 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 2 Mar 2015 08:25:06 +0000 (16:25 +0800)
DataObjects/Person.php

index 52ba894..dbf0a9e 100644 (file)
@@ -265,14 +265,13 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
         if (!empty($_SESSION[get_class($this)][$sesPrefix .'-auth'])) {
             // in session...
             $a = unserialize($_SESSION[get_class($this)][$sesPrefix .'-auth']);
-            
+            tableName
             $u = DB_DataObject::factory($this->tableName());
             if ($a->id && $u->get($a->id)) { //&& strlen($u->passwd)) {
               
                 return $u->verifyAuth();
                 
-   
-                return true;
+    ;
             }
             
             unset($_SESSION[get_class($this)][$sesPrefix .'-auth']);