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

index 3202a50..52ba894 100644 (file)
@@ -374,12 +374,13 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
         $ff= HTML_FlexyFramework::get();
         $sesPrefix = $ff->appNameShort .'-' .get_class($this) .'-'.$db->dsn['database'] ;
         
+        
         //var_dump(array(get_class($this),$sesPrefix .'-auth'));
        
         if (!empty($_SESSION[get_class($this)][$sesPrefix .'-auth'])) {
             $a = unserialize($_SESSION[get_class($this)][$sesPrefix .'-auth']);
             
-            print_r($a);
+            
             $u = DB_DataObject::factory($this->tableName()); // allow extending this ...
             if ($u->get($a->id)) { /// && strlen($u->passwd)) {  // should work out the pid .. really..
                 return clone($u);