From c63f2656a80a49a6f27aa38c460420087e7fa066 Mon Sep 17 00:00:00 2001 From: PayBas Date: Fri, 2 May 2014 14:12:01 +0200 Subject: [PATCH] [ticket/12366] Conform to new event coding guidelines PHPBB3-12366 --- phpBB/search.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/phpBB/search.php b/phpBB/search.php index d32183b80d..301c29cd44 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -677,7 +677,21 @@ if ($keywords || $author || $author_id || $search_id || $submit) * @var int start The starting id of the results * @since 3.1.0-b3 */ - $vars = array('sql_array', 'zebra', 'total_match_count', 'keywords', 'sort_by_sql', 's_sort_dir', 's_sort_key', 's_limit_days', 'ex_fid_ary', 'author_id_ary', 'search_fields', 'search_id', 'start'); + $vars = array( + 'sql_array', + 'zebra', + 'total_match_count', + 'keywords', + 'sort_by_sql', + 's_sort_dir', + 's_sort_key', + 's_limit_days', + 'ex_fid_ary', + 'author_id_ary', + 'search_fields', + 'search_id', + 'start' + ); extract($phpbb_dispatcher->trigger_event('core.search_get_posts_data', compact($vars))); $sql = $db->sql_build_query('SELECT', $sql_array);