From 33d7eb69efe60240fdc4e845d9d4228c572f62ac Mon Sep 17 00:00:00 2001 From: kasimi Date: Sun, 25 Jan 2015 13:01:02 +0100 Subject: [PATCH] [ticket/13540] Added var row to both events PHPBB3-13540 --- phpBB/includes/functions_posting.php | 2 ++ phpBB/includes/mcp/mcp_topic.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 9ab71815c5..f3c49badfe 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -1210,6 +1210,7 @@ function topic_review($topic_id, $forum_id, $mode = 'topic_review', $cur_post_id * @var int cur_post_id Post offset id * @var int current_row_number Number of the current row being iterated * @var array post_row Template block array of the current post + * @var array row Array with original post and user data * @since 3.1.4-RC1 */ $vars = array( @@ -1219,6 +1220,7 @@ function topic_review($topic_id, $forum_id, $mode = 'topic_review', $cur_post_id 'cur_post_id', 'current_row_number', 'post_row', + 'row', ); extract($phpbb_dispatcher->trigger_event('core.topic_review_modify_row', compact($vars))); diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php index 6762d37015..3a456169d5 100644 --- a/phpBB/includes/mcp/mcp_topic.php +++ b/phpBB/includes/mcp/mcp_topic.php @@ -266,6 +266,7 @@ function mcp_topic_view($id, $mode, $action) * @var int start Start item of 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 row Array with original post and user data * @since 3.1.4-RC1 */ $vars = array( @@ -276,6 +277,7 @@ function mcp_topic_view($id, $mode, $action) 'start', 'current_row_number', 'post_row', + 'row', ); extract($phpbb_dispatcher->trigger_event('core.mcp_topic_review_modify_row', compact($vars)));