Skip to content

Commit

Permalink
fix a bug in acl manager where it attempted to correct too high page …
Browse files Browse the repository at this point in the history
…permission levels using the wrong var
  • Loading branch information
Chris--S committed Aug 3, 2013
1 parent ad3d68d commit 041a602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/acl/admin.php
Expand Up @@ -724,7 +724,7 @@ function _html_checkboxes($setperm,$ispage,$name){
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;
Expand Down

0 comments on commit 041a602

Please sign in to comment.