From: Alan Knowles Date: Wed, 17 Jul 2013 11:26:04 +0000 (+0800) Subject: DataObjects/Person.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=f8653222bb969c4ca5f51640444eb8eb8f3beed9 DataObjects/Person.php --- diff --git a/DataObjects/Person.php b/DataObjects/Person.php index bec840f2..d4d54090 100644 --- a/DataObjects/Person.php +++ b/DataObjects/Person.php @@ -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;