projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
976eba8
)
Pman/Login.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 16 Dec 2010 03:26:30 +0000
(11:26 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 16 Dec 2010 03:26:30 +0000
(11:26 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
f655568
..
c4e892b
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-135,7
+135,7
@@
class Pman_Login extends Pman
// first check they have perms to do this..
- if (!$au|| ($au->company
_id_
comptype != 'OWNER') || !$this->hasPerm('Core.Person', 'E')) {
+ if (!$au|| ($au->company
()->
comptype != 'OWNER') || !$this->hasPerm('Core.Person', 'E')) {
$this->jerr("User switching not permitted");
}