DataObjects/Person.php
authorAlan Knowles <alan@akbkhome.com>
Wed, 1 Jun 2011 06:33:12 +0000 (14:33 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 1 Jun 2011 06:33:12 +0000 (14:33 +0800)
DataObjects/Person.php

index 5d4a896..d40470c 100644 (file)
@@ -120,7 +120,7 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
     /// check config 'auth_comptype' to see if we restrict access ..
     function verifyAuth()
     { 
-        $ff= HTML_FlexyFramework::get();
+       
         echo '<PRE>';print_r($this->company());exit;
          if (!empty($ff->Pman['auth_comptype']) && $ff->Pman['auth_comptype'] != $this->company()->comptype) {
             $ff->page->jerr("Login not permited to outside companies");