DataObjects/Person.php
authorAlan Knowles <alan@roojs.com>
Wed, 17 Jul 2013 11:26:04 +0000 (19:26 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 17 Jul 2013 11:26:04 +0000 (19:26 +0800)
DataObjects/Person.php

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