Pman/Login.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 16 Dec 2010 03:14:15 +0000 (11:14 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 16 Dec 2010 03:14:15 +0000 (11:14 +0800)
Pman/Login.php

index e3f02d1..f287ac5 100644 (file)
@@ -127,8 +127,8 @@ class Pman_Login extends Pman
     {
         // first check they have perms to do this..
         if (!$this->authUser || ($this->authUser->company_id_comptype != 'OWNER') || !$this->hasPerm('Core.Person', 'E')) {
-            $this->jerr(
-           }
+            $this->jerr("User switching not permitted");
+        }
         
     }