From a084b07495b063d4f31c03f21df6c940992f53b4 Mon Sep 17 00:00:00 2001 From: rxu Date: Sun, 18 Sep 2016 14:02:49 +0700 Subject: [PATCH] [ticket/14787] Add more parameters to the core.search_modify_url_parameters PHPBB3-14787 --- phpBB/search.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/phpBB/search.php b/phpBB/search.php index cbee369086..7542ac1e31 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -645,11 +645,16 @@ if ($keywords || $author || $author_id || $search_id || $submit) * @event core.search_modify_url_parameters * @var string u_search Search URL parameters string * @var string search_id Predefined search type name + * @var string sql_where The SQL WHERE string used by search to get topic data + * @var int total_match_count The total number of search matches * @since 3.1.7-RC1 + * @changed 3.1.10-RC1 Added sql_where, total_match_count */ $vars = array( 'u_search', 'search_id', + 'sql_where', + 'total_match_count', ); extract($phpbb_dispatcher->trigger_event('core.search_modify_url_parameters', compact($vars)));