projects
/
Pman.Admin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
GroupRights.php
[Pman.Admin]
/
GroupRights.php
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");
}