projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c49d53b
)
GroupRights.php
author
Alan Knowles
<alan@roojs.com>
Fri, 14 Sep 2012 06:10:51 +0000
(14:10 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 14 Sep 2012 06:10:51 +0000
(14:10 +0800)
GroupRights.php
patch
|
blob
|
history
diff --git
a/GroupRights.php
b/GroupRights.php
index
15046b8
..
e0536c7
100644
(file)
--- a/
GroupRights.php
+++ b/
GroupRights.php
@@
-15,7
+15,7
@@
class Pman_Admin_GroupRights extends Pman
$this->jerr("Not authenticated", array('authFailure' => true));
}
- if ($au->company
_id_
comptype !='OWNER') {
+ if ($au->company
()->
comptype !='OWNER') {
$this->jerr("Error", "only company owners can manage groups");
}