From bc86210db82e4336a82389cb26e652a2ce63f7c7 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Tue, 21 Feb 2017 22:15:12 +0100 Subject: [PATCH] [ticket/14927] Put vars on one line PHPBB3-14927 --- phpBB/includes/functions_user.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index f222f33eb2..4aecbff6ba 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -280,11 +280,7 @@ function user_add($user_row, $cp_data = false, $notifications_data = null) * @changed 3.1.0-b5 Added user_row and cp_data * @changed 3.1.11-RC1 Added notifications_data */ - $vars = array( - 'user_row', - 'cp_data', - 'sql_ary', - 'notifications_data'); + $vars = array('user_row', 'cp_data', 'sql_ary', 'notifications_data'); extract($phpbb_dispatcher->trigger_event('core.user_add_modify_data', compact($vars))); $sql = 'INSERT INTO ' . USERS_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary);