summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/plugins/acl/admin.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/plugins/acl/admin.php b/lib/plugins/acl/admin.php
index 4d072f4e3..5014c282c 100644
--- a/lib/plugins/acl/admin.php
+++ b/lib/plugins/acl/admin.php
@@ -109,9 +109,10 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin {
$this->_acl_del($scope, $this->who);
}elseif(isset($_REQUEST['cmd']['update'])){
// handle update of the whole file
- foreach((array) $_REQUEST['del'] as $where => $who){
+ foreach((array) $_REQUEST['del'] as $where => $names){
// remove all rules marked for deletion
- unset($_REQUEST['acl'][$where][$who]);
+ foreach($names as $who)
+ unset($_REQUEST['acl'][$where][$who]);
}
// prepare lines
$lines = array();
@@ -554,7 +555,7 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin {
echo '</td>';
echo '<td align="center">';
- echo '<input type="checkbox" name="del['.hsc($where).']" value="'.hsc($who).'" />';
+ echo '<input type="checkbox" name="del['.hsc($where).'][]" value="'.hsc($who).'" />';
echo '</td>';
echo '</tr>';
}