aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_queue.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-04-21 13:17:30 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-04-21 13:17:30 +0000
commit9640f5b1083e31f57271c4084e09fc5717f185c6 (patch)
treec1555ad82b99766ea5712f2b7a007ed4655d8886 /phpBB/includes/mcp/mcp_queue.php
parent18e7a58f155446c2efd072dd0934565a33a81e66 (diff)
downloadforums-9640f5b1083e31f57271c4084e09fc5717f185c6.tar
forums-9640f5b1083e31f57271c4084e09fc5717f185c6.tar.gz
forums-9640f5b1083e31f57271c4084e09fc5717f185c6.tar.bz2
forums-9640f5b1083e31f57271c4084e09fc5717f185c6.tar.xz
forums-9640f5b1083e31f57271c4084e09fc5717f185c6.zip
remove the _f_ portion from redirect urls now they no longer exist
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8520 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index 6d7f9ffaba..ae7f509d5f 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -459,7 +459,7 @@ function approve_post($post_id_list, $id, $mode)
trigger_error('NOT_AUTHORISED');
}
- $redirect = request_var('redirect', build_url(array('_f_', 'quickmod')));
+ $redirect = request_var('redirect', build_url(array('quickmod')));
$success_msg = '';
$s_hidden_fields = build_hidden_fields(array(
@@ -758,7 +758,7 @@ function disapprove_post($post_id_list, $id, $mode)
trigger_error('NOT_AUTHORISED');
}
- $redirect = request_var('redirect', build_url(array('t', 'mode', '_f_', 'quickmod')) . "&amp;mode=$mode");
+ $redirect = request_var('redirect', build_url(array('t', 'mode', 'quickmod')) . "&amp;mode=$mode");
$reason = utf8_normalize_nfc(request_var('reason', '', true));
$reason_id = request_var('reason_id', 0);
$success_msg = $additional_msg = '';