projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a59a344
)
GroupRights.php
author
edward
<edward@roojs.com>
Mon, 15 Jan 2018 03:14:53 +0000
(11:14 +0800)
committer
edward
<edward@roojs.com>
Mon, 15 Jan 2018 03:14:53 +0000
(11:14 +0800)
GroupRights.php
patch
|
blob
|
history
diff --git
a/GroupRights.php
b/GroupRights.php
index
b62f5d7
..
d92a547
100644
(file)
--- a/
GroupRights.php
+++ b/
GroupRights.php
@@
-97,7
+97,8
@@
class Pman_Admin_GroupRights extends Pman
if (!isset($_POST['group_id']) || (int)$_POST['group_id'] < 0) {
$this->jerr("NO GROUP");
}
- if (!$this->hasPerm( 'Core.Groups','E')) { // editing groups..
+
+ if (!$this->checkPerm('Core.Groups','E')) { // editing groups..
$this->jerr("PERMISSION DENIED");
}
@@
-141,9
+142,5
@@
class Pman_Admin_GroupRights extends Pman
{
return $au->hasPerm("Core.Groups", $lvl);
}
-
-
-
-
}
\ No newline at end of file