diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2014-09-07 12:47:13 +0200 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2014-09-07 12:47:13 +0200 |
| commit | c1d0528d80327b9dcda62edf9ce05a5ce84eb472 (patch) | |
| tree | 77f00c84279c14691418c4fd10eaff682b02b204 | |
| parent | b3a8e928101729c16b98b15cf13aada16bbc501b (diff) | |
| parent | a6f1b22eb33630bad7d4f8c21da8687405761ca0 (diff) | |
| download | forums-c1d0528d80327b9dcda62edf9ce05a5ce84eb472.tar forums-c1d0528d80327b9dcda62edf9ce05a5ce84eb472.tar.gz forums-c1d0528d80327b9dcda62edf9ce05a5ce84eb472.tar.bz2 forums-c1d0528d80327b9dcda62edf9ce05a5ce84eb472.tar.xz forums-c1d0528d80327b9dcda62edf9ce05a5ce84eb472.zip | |
Merge pull request #2929 from rxu/ticket/13047
[ticket/13047] Add $post_list array to core.viewtopic_modify_page_title event
* rxu/ticket/13047:
[ticket/13047] Add $post_list array to core.viewtopic_modify_page_title event
| -rw-r--r-- | phpBB/viewtopic.php | 4 |
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 |
