1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-06 22:45:02 +02:00

Merge branch '3.1.x' into 3.2.x

* 3.1.x:
  [ticket/14787] Add more parameters to the core.search_modify_url_parameters
This commit is contained in:
Tristan Darricau 2016-09-18 21:25:17 +02:00
commit e0d9f2aad6
No known key found for this signature in database
GPG Key ID: 817043C2E29DB881

View File

@ -648,11 +648,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)));