aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2009-09-12 13:17:58 +0000
committerJoas Schilling <nickvergessen@gmx.de>2009-09-12 13:17:58 +0000
commitc768cff554212c04c6da254418657faf4eab0b15 (patch)
tree4a5b42c0ebcaeb0be77edacb839bf164fe2dadc0 /phpBB
parentbf63d6cf10eb2bfd007dc220245ccfdab55a4f34 (diff)
downloadforums-c768cff554212c04c6da254418657faf4eab0b15.tar
forums-c768cff554212c04c6da254418657faf4eab0b15.tar.gz
forums-c768cff554212c04c6da254418657faf4eab0b15.tar.bz2
forums-c768cff554212c04c6da254418657faf4eab0b15.tar.xz
forums-c768cff554212c04c6da254418657faf4eab0b15.zip
fix #49625 r10002 - Do not drop forum_id on mcp_front (un)approval
Authorised by: AcydBurn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10139 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/mcp/mcp_front.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_front.php b/phpBB/includes/mcp/mcp_front.php
index 0ee3eb2466..50e14b9336 100644
--- a/phpBB/includes/mcp/mcp_front.php
+++ b/phpBB/includes/mcp/mcp_front.php
@@ -120,7 +120,7 @@ function mcp_front_view($id, $mode, $action)
}
$s_hidden_fields = build_hidden_fields(array(
- 'redirect' => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main')
+ 'redirect' => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main' . (($forum_id) ? '&amp;f=' . $forum_id : ''))
));
$template->assign_vars(array(