aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2016-05-22 14:26:01 +0200
committerJakub Senko <jakubsenko@gmail.com>2016-05-22 14:26:01 +0200
commitc3fd07a5f080f89d03d2ed178e50074b472b669c (patch)
tree5f9eb6d2489ef13afcbd6b6674ae42d9a4107b79 /phpBB/search.php
parente7262e2d39feb7946710f6ae4bb17aac67f26204 (diff)
downloadforums-c3fd07a5f080f89d03d2ed178e50074b472b669c.tar
forums-c3fd07a5f080f89d03d2ed178e50074b472b669c.tar.gz
forums-c3fd07a5f080f89d03d2ed178e50074b472b669c.tar.bz2
forums-c3fd07a5f080f89d03d2ed178e50074b472b669c.tar.xz
forums-c3fd07a5f080f89d03d2ed178e50074b472b669c.zip
[ticket/13865] Add id_ary, show_results to core.search_modify_param_before
PHPBB3-13865
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 7469daa49c..3fa3b61c3c 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -320,7 +320,10 @@ if ($keywords || $author || $author_id || $search_id || $submit)
* @var array ex_fid_ary Array of excluded forum ids
* @var array author_id_ary Array of exclusive author ids
* @var string search_id The id of the search request
+ * @var array id_ary Array of post or topic ids for search result
+ * @var string show_results 'posts' or 'topics' type of ids
* @since 3.1.3-RC1
+ * @changed 3.1.10-RC1 Added id_ary, show_results
*/
$vars = array(
'keywords',
@@ -328,6 +331,8 @@ if ($keywords || $author || $author_id || $search_id || $submit)
'ex_fid_ary',
'author_id_ary',
'search_id',
+ 'id_ary',
+ 'show_results',
);
extract($phpbb_dispatcher->trigger_event('core.search_modify_param_before', compact($vars)));