aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp
diff options
context:
space:
mode:
authorkasimi <kasimi@inbox.ru>2015-01-25 13:01:02 +0100
committerkasimi <kasimi@inbox.ru>2015-01-25 13:01:02 +0100
commit33d7eb69efe60240fdc4e845d9d4228c572f62ac (patch)
treea7374103339378c4d3a6b951eb345ee1dfa1a985 /phpBB/includes/mcp
parent12fba958928036f9da9a8fe000693ca230a37285 (diff)
downloadforums-33d7eb69efe60240fdc4e845d9d4228c572f62ac.tar
forums-33d7eb69efe60240fdc4e845d9d4228c572f62ac.tar.gz
forums-33d7eb69efe60240fdc4e845d9d4228c572f62ac.tar.bz2
forums-33d7eb69efe60240fdc4e845d9d4228c572f62ac.tar.xz
forums-33d7eb69efe60240fdc4e845d9d4228c572f62ac.zip
[ticket/13540] Added var row to both events
PHPBB3-13540
Diffstat (limited to 'phpBB/includes/mcp')
-rw-r--r--phpBB/includes/mcp/mcp_topic.php2
1 files changed, 2 insertions, 0 deletions
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)));