aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2014-09-07 13:34:19 +0800
committerrxu <rxu@mail.ru>2014-09-07 13:36:23 +0800
commita6f1b22eb33630bad7d4f8c21da8687405761ca0 (patch)
tree3f13adabc421aa6364ba04e0fb13f479a83fa5f8
parent297ab5c5260c37bf4db4f220911b4dc8f4ca2674 (diff)
downloadforums-a6f1b22eb33630bad7d4f8c21da8687405761ca0.tar
forums-a6f1b22eb33630bad7d4f8c21da8687405761ca0.tar.gz
forums-a6f1b22eb33630bad7d4f8c21da8687405761ca0.tar.bz2
forums-a6f1b22eb33630bad7d4f8c21da8687405761ca0.tar.xz
forums-a6f1b22eb33630bad7d4f8c21da8687405761ca0.zip
[ticket/13047] Add $post_list array to core.viewtopic_modify_page_title event
PHPBB3-13047
-rw-r--r--phpBB/viewtopic.php4
1 files changed, 3 insertions, 1 deletions
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