diff options
author | Erwan Nader <ernadoo@gmail.com> | 2017-03-18 17:58:06 +0100 |
---|---|---|
committer | Erwan Nader <ernadoo@gmail.com> | 2017-03-18 17:58:06 +0100 |
commit | 716cff0c97c305f0921005d193d5bc9ba58aae16 (patch) | |
tree | e8318e4e5c3122f0f6e9b0bb40ab8a87c996df1f /phpBB/includes/mcp | |
parent | 9267235f30b3275b4b00f49f99c6ae259ce26a3f (diff) | |
download | forums-716cff0c97c305f0921005d193d5bc9ba58aae16.tar forums-716cff0c97c305f0921005d193d5bc9ba58aae16.tar.gz forums-716cff0c97c305f0921005d193d5bc9ba58aae16.tar.bz2 forums-716cff0c97c305f0921005d193d5bc9ba58aae16.tar.xz forums-716cff0c97c305f0921005d193d5bc9ba58aae16.zip |
[ticket/15131] Add variables to the 'core.mcp_main_modify_fork_sql' event
PHPBB3-15131
Diffstat (limited to 'phpBB/includes/mcp')
-rw-r--r-- | phpBB/includes/mcp/mcp_main.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php index 491697d2e9..abe9e25ce0 100644 --- a/phpBB/includes/mcp/mcp_main.php +++ b/phpBB/includes/mcp/mcp_main.php @@ -1297,11 +1297,13 @@ function mcp_fork_topic($topic_ids) * Perform actions before forked topic is created. * * @event core.mcp_main_modify_fork_sql - * @var array sql_ary SQL array to be used by $db->sql_build_array + * @var array sql_ary SQL array to be used by $db->sql_build_array + * @var array topic_row Topic data * @since 3.1.11-RC1 */ $vars = array( 'sql_ary', + 'topic_row', ); extract($phpbb_dispatcher->trigger_event('core.mcp_main_modify_fork_sql', compact($vars))); |