From a6f1b22eb33630bad7d4f8c21da8687405761ca0 Mon Sep 17 00:00:00 2001 From: rxu Date: Sun, 7 Sep 2014 13:34:19 +0800 Subject: [PATCH] [ticket/13047] Add $post_list array to core.viewtopic_modify_page_title event PHPBB3-13047 --- phpBB/viewtopic.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 20fea19f7c..3c837bd136 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -2117,9 +2117,11 @@ $page_title = $topic_data['topic_title'] . ($start ? ' - ' . sprintf($user->lang * @var array topic_data Array with topic data * @var int forum_id Forum ID of the topic * @var int start Start offset used to calculate the page +* @var array post_list Array with post_ids we are going to display * @since 3.1.0-a1 +* @change 3.1.0-RC4 Added post_list var */ -$vars = array('page_title', 'topic_data', 'forum_id', 'start'); +$vars = array('page_title', 'topic_data', 'forum_id', 'start', 'post_list'); extract($phpbb_dispatcher->trigger_event('core.viewtopic_modify_page_title', compact($vars))); // Output the page