aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/functions_posting.php2
-rw-r--r--phpBB/includes/mcp/mcp_topic.php2
2 files changed, 4 insertions, 0 deletions
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)));