aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_permissions.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2009-06-25 10:39:36 +0000
committerJoas Schilling <nickvergessen@gmx.de>2009-06-25 10:39:36 +0000
commit7ca31ace1a023c910470208abec219b1c03923ac (patch)
tree11ce129d77bb3ee07610631f0ab2dbbf147e05c4 /phpBB/includes/acp/acp_permissions.php
parentb4c17b3732659991e979b989327fe375a9218df0 (diff)
downloadforums-7ca31ace1a023c910470208abec219b1c03923ac.tar
forums-7ca31ace1a023c910470208abec219b1c03923ac.tar.gz
forums-7ca31ace1a023c910470208abec219b1c03923ac.tar.bz2
forums-7ca31ace1a023c910470208abec219b1c03923ac.tar.xz
forums-7ca31ace1a023c910470208abec219b1c03923ac.zip
fix r9652
Authorised by: AcydBurn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9673 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_permissions.php')
-rw-r--r--phpBB/includes/acp/acp_permissions.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_permissions.php b/phpBB/includes/acp/acp_permissions.php
index 077a3d7c83..8e03a7fa52 100644
--- a/phpBB/includes/acp/acp_permissions.php
+++ b/phpBB/includes/acp/acp_permissions.php
@@ -254,6 +254,16 @@ class acp_permissions
}
else
{
+ if (isset($_POST['cancel']))
+ {
+ $u_redirect = $this->u_action . '&amp;type=' . $permission_type;
+ foreach ($forum_id as $fid)
+ {
+ $u_redirect .= '&amp;forum_id[]=' . $fid;
+ }
+ redirect($u_redirect);
+ }
+
$s_hidden_fields = array(
'i' => $id,
'mode' => $mode,