1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-22 16:51:56 +02:00

[ticket/13540] Add total post count to mcp_topic_review_modify_row event

PHPBB3-13540
This commit is contained in:
kasimi 2015-02-17 00:48:04 +01:00
parent f9d34a16dd
commit c7ce6cd26f

@ -268,6 +268,7 @@ function mcp_topic_view($id, $mode, $action)
* @var array post_row Template block array of the current post
* @var array row Array with original post and user data
* @var array topic_info Array with topic data
* @var int total Total posts count
* @since 3.1.4-RC1
*/
$vars = array(
@ -280,6 +281,7 @@ function mcp_topic_view($id, $mode, $action)
'post_row',
'row',
'topic_info',
'total',
);
extract($phpbb_dispatcher->trigger_event('core.mcp_topic_review_modify_row', compact($vars)));