[ticket/13540] Add topic_info to mcp_topic_review_modify_row event

PHPBB3-13540
This commit is contained in:
kasimi 2015-02-16 20:11:19 +01:00
parent 33d7eb69ef
commit f9d34a16dd

View file

@ -267,6 +267,7 @@ function mcp_topic_view($id, $mode, $action)
* @var int current_row_number Number of the post on this page * @var int current_row_number Number of the post on this page
* @var array post_row Template block array of the current post * @var array post_row Template block array of the current post
* @var array row Array with original post and user data * @var array row Array with original post and user data
* @var array topic_info Array with topic data
* @since 3.1.4-RC1 * @since 3.1.4-RC1
*/ */
$vars = array( $vars = array(
@ -278,6 +279,7 @@ function mcp_topic_view($id, $mode, $action)
'current_row_number', 'current_row_number',
'post_row', 'post_row',
'row', 'row',
'topic_info',
); );
extract($phpbb_dispatcher->trigger_event('core.mcp_topic_review_modify_row', compact($vars))); extract($phpbb_dispatcher->trigger_event('core.mcp_topic_review_modify_row', compact($vars)));