From 4cf998e9dfcac777000c923fd36276d9781bfd94 Mon Sep 17 00:00:00 2001 From: Erwan Nader Date: Sat, 18 Mar 2017 18:27:24 +0100 Subject: [PATCH 1/2] [ticket/15132] Add variable to the 'core.mcp_main_modify_shadow_sql' event PHPBB3-15132 --- phpBB/includes/mcp/mcp_main.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php index 491697d2e9..8917e44776 100644 --- a/phpBB/includes/mcp/mcp_main.php +++ b/phpBB/includes/mcp/mcp_main.php @@ -630,10 +630,12 @@ function mcp_move_topic($topic_ids) * * @event core.mcp_main_modify_shadow_sql * @var array shadow SQL array to be used by $db->sql_build_array + * @var array row Topic data * @since 3.1.11-RC1 */ $vars = array( 'shadow', + 'row', ); extract($phpbb_dispatcher->trigger_event('core.mcp_main_modify_shadow_sql', compact($vars))); From 0914123391cc0d7057dda6c8c1c2973d3fde5910 Mon Sep 17 00:00:00 2001 From: Erwan Nader Date: Wed, 31 May 2017 21:21:04 +0200 Subject: [PATCH 2/2] [ticket/15132] Add variable to the 'core.mcp_main_modify_shadow_sql' event PHPBB3-15132 --- phpBB/includes/mcp/mcp_main.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php index 8917e44776..e9ff696684 100644 --- a/phpBB/includes/mcp/mcp_main.php +++ b/phpBB/includes/mcp/mcp_main.php @@ -632,6 +632,7 @@ function mcp_move_topic($topic_ids) * @var array shadow SQL array to be used by $db->sql_build_array * @var array row Topic data * @since 3.1.11-RC1 + * @changed 3.1.11-RC1 Added variable: row */ $vars = array( 'shadow',