mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[feature/php-events] Make topic db row available in event
PHPBB3-9550
This commit is contained in:
@@ -745,7 +745,7 @@ if (sizeof($topic_list))
|
||||
'S_TOPIC_TYPE_SWITCH' => ($s_type_switch == $s_type_switch_test) ? -1 : $s_type_switch_test,
|
||||
);
|
||||
|
||||
$vars = array('topicrow');
|
||||
$vars = array('row', 'topicrow');
|
||||
extract($phpbb_dispatcher->trigger_event('core.viewforum_topicrow', compact($vars)));
|
||||
|
||||
$template->assign_block_vars('topicrow', $topicrow);
|
||||
|
Reference in New Issue
Block a user