mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/php-events] Make topic db row available in event
PHPBB3-9550
This commit is contained in:
parent
4745d4ec6c
commit
45d534978b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue