summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-08-03 08:44:03 -0700
committerAndreas Gohr <andi@splitbrain.org>2013-08-03 08:44:03 -0700
commit2ab4be2bed1b819f88d02a2ff2e352432bb13fd7 (patch)
tree9929d38da3311570fb9a0787e2961ff4f9d6e75d /lib
parent0a57f27ea5c1a6d54627f6af15c516f18f44b229 (diff)
parent041a602de97e0bb0e06b7a5a92564e6aadbfa81a (diff)
downloadrpg-2ab4be2bed1b819f88d02a2ff2e352432bb13fd7.tar.gz
rpg-2ab4be2bed1b819f88d02a2ff2e352432bb13fd7.tar.bz2
Merge pull request #261 from splitbrain/acl_tokensubstitution_fixes
Acl tokensubstitution fixes
Diffstat (limited to 'lib')
-rw-r--r--lib/plugins/acl/admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/acl/admin.php b/lib/plugins/acl/admin.php
index 0d9cd742a..50377da81 100644
--- a/lib/plugins/acl/admin.php
+++ b/lib/plugins/acl/admin.php
@@ -724,7 +724,7 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin {
static $label = 0; //number labels
$ret = '';
- if($ispage && $setperm > AUTH_EDIT) $perm = AUTH_EDIT;
+ if($ispage && $setperm > AUTH_EDIT) $setperm = AUTH_EDIT;
foreach(array(AUTH_NONE,AUTH_READ,AUTH_EDIT,AUTH_CREATE,AUTH_UPLOAD,AUTH_DELETE) as $perm){
$label += 1;