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

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