aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_content.php
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2013-11-09 23:18:10 -0800
committerCesar G <prototech91@gmail.com>2014-04-22 15:21:01 -0700
commitef4202d8590cdf3d88049329fe02864881369906 (patch)
tree9d33474aad0cf15517ca1f72a2c7e7a3022a2426 /phpBB/includes/functions_content.php
parentc96ade84631a2ae24d7335b50a2c8c5b1f48b242 (diff)
downloadforums-ef4202d8590cdf3d88049329fe02864881369906.tar
forums-ef4202d8590cdf3d88049329fe02864881369906.tar.gz
forums-ef4202d8590cdf3d88049329fe02864881369906.tar.bz2
forums-ef4202d8590cdf3d88049329fe02864881369906.tar.xz
forums-ef4202d8590cdf3d88049329fe02864881369906.zip
[ticket/11508] Build the jumpbox hidden fields using the _form action_
PHPBB3-11508
Diffstat (limited to 'phpBB/includes/functions_content.php')
-rw-r--r--phpBB/includes/functions_content.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php
index b1f69c5756..387695a9e8 100644
--- a/phpBB/includes/functions_content.php
+++ b/phpBB/includes/functions_content.php
@@ -195,11 +195,13 @@ function make_jumpbox($action, $forum_id = false, $select_all = false, $acl_list
}
$db->sql_freeresult($result);
unset($padding_store);
+ $url_parts = phpbb_get_url_parts($action);
$template->assign_vars(array(
- 'S_DISPLAY_JUMPBOX' => $display_jumpbox,
- 'S_JUMPBOX_ACTION' => $action)
- );
+ 'S_DISPLAY_JUMPBOX' => $display_jumpbox,
+ 'S_JUMPBOX_ACTION' => $action,
+ 'HIDDEN_FIELDS_FOR_JUMPBOX' => build_hidden_fields($url_parts['params']),
+ ));
return;
}