aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_content.php
diff options
context:
space:
mode:
authorTobi Schäfer <mail@tas2580.net>2016-06-01 10:02:33 +0200
committerMarc Alexander <admin@m-a-styles.de>2016-06-13 21:11:54 +0200
commitcff2895599be62a919c6b0443b4399d322f6bfed (patch)
treee58b3178d425932d166bd602f064a64033f683d0 /phpBB/includes/functions_content.php
parent516670225d85ba74a3477bed1ce6324a2f5ed0a7 (diff)
downloadforums-cff2895599be62a919c6b0443b4399d322f6bfed.tar
forums-cff2895599be62a919c6b0443b4399d322f6bfed.tar.gz
forums-cff2895599be62a919c6b0443b4399d322f6bfed.tar.bz2
forums-cff2895599be62a919c6b0443b4399d322f6bfed.tar.xz
forums-cff2895599be62a919c6b0443b4399d322f6bfed.zip
[ticket/14626] Event core.make_jumpbox_modify_tpl_ary
PHPBB3-14626
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++)