aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 349f53cbe2..4f95d40e73 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1574,6 +1574,11 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
$postrow = array_merge($postrow, $cp_row['row']);
}
+ $vars = array('postrow');
+ $event = new phpbb_event_data(compact($vars));
+ $phpbb_dispatcher->dispatch('core.viewtopic_postrow', $event);
+ extract($event->get_data_filtered($vars));
+
// Dump vars into template
$template->assign_block_vars('postrow', $postrow);