aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorMichael Cullum <unknownbliss@phpbbdevelopers.net>2012-03-15 20:49:33 +0000
committerJoas Schilling <nickvergessen@gmx.de>2012-08-01 10:18:38 +0200
commit54caef8f902cf5ea40da0d818b770d15b6d7e7e2 (patch)
tree3d6e8ca2c502e9f98fe1ab39b564fba7b19e25ce /phpBB/viewtopic.php
parent6c50f6610f66b865e6fa6ee82235c3ff373fdfd3 (diff)
downloadforums-54caef8f902cf5ea40da0d818b770d15b6d7e7e2.tar
forums-54caef8f902cf5ea40da0d818b770d15b6d7e7e2.tar.gz
forums-54caef8f902cf5ea40da0d818b770d15b6d7e7e2.tar.bz2
forums-54caef8f902cf5ea40da0d818b770d15b6d7e7e2.tar.xz
forums-54caef8f902cf5ea40da0d818b770d15b6d7e7e2.zip
[feature/events] Add core.viewtopic_postrow ledge
PHPBB3-9550
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);