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

index 9deaca1..d0d271c 100644 (file)
@@ -121,8 +121,7 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
     function verifyAuth()
     { 
         $ff= HTML_FlexyFramework::get();
-        print_r($ff);
-        if (!empty($ff->Pman['auth_comptype']) && $ff->Pman['auth_comptype'] != $this->company()->comptype) {
+         if (!empty($ff->Pman['auth_comptype']) && $ff->Pman['auth_comptype'] != $this->company()->comptype) {
             $ff->page->jerr("Login not permited to outside companies");
         }
         return true;