1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-24 02:21:43 +02:00

[ticket/14626] Event core.make_jumpbox_modify_tpl_ary

PHPBB3-14626
This commit is contained in:
Tobi Schäfer
2016-06-01 10:02:33 +02:00
committed by Marc Alexander
parent 516670225d
commit cff2895599

View File

@@ -244,10 +244,8 @@ function make_jumpbox($action, $forum_id = false, $select_all = false, $acl_list
);
extract($phpbb_dispatcher->trigger_event('core.make_jumpbox_modify_tpl_ary', compact($vars)));
foreach ($tpl_ary as $i => $ary)
{
$template->assign_block_vars('jumpbox_forums', $ary);
}
$template->assign_block_vars_array('jumpbox_forums', $tpl_ary);
unset($tpl_ary);
for ($i = 0; $i < $padding; $i++)