aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_content.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_content.php')
-rw-r--r--phpBB/includes/functions_content.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php
index 0bf8bc99a0..87dd306e8a 100644
--- a/phpBB/includes/functions_content.php
+++ b/phpBB/includes/functions_content.php
@@ -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++)