1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 11:13:59 +02:00

[ticket/11508] Build the jumpbox hidden fields using the _form action_

PHPBB3-11508
This commit is contained in:
Cesar G
2013-11-09 23:18:10 -08:00
parent c96ade8463
commit ef4202d859
2 changed files with 7 additions and 6 deletions

View File

@@ -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;
}