diff options
author | Cesar G <prototech91@gmail.com> | 2013-11-09 23:18:10 -0800 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2014-04-22 15:21:01 -0700 |
commit | ef4202d8590cdf3d88049329fe02864881369906 (patch) | |
tree | 9d33474aad0cf15517ca1f72a2c7e7a3022a2426 /phpBB/includes/functions_content.php | |
parent | c96ade84631a2ae24d7335b50a2c8c5b1f48b242 (diff) | |
download | forums-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.php | 8 |
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; } |