aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search/fulltext_mysql.php
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-01-16 11:48:40 -0800
committerCesar G <prototech91@gmail.com>2014-01-16 11:48:40 -0800
commitb3a25c52e57b31259e71984f320611fc5d6513bb (patch)
treefb552c433a8d64e4554bc840a496e91d3a194435 /phpBB/phpbb/search/fulltext_mysql.php
parent670a9a1aea49ac4b39966025be9fd28062567fa2 (diff)
downloadforums-b3a25c52e57b31259e71984f320611fc5d6513bb.tar
forums-b3a25c52e57b31259e71984f320611fc5d6513bb.tar.gz
forums-b3a25c52e57b31259e71984f320611fc5d6513bb.tar.bz2
forums-b3a25c52e57b31259e71984f320611fc5d6513bb.tar.xz
forums-b3a25c52e57b31259e71984f320611fc5d6513bb.zip
[ticket/12096] Use plurals for MAX_NUM_SEARCH_KEYWORDS_REFINE.
PHPBB3-12096
Diffstat (limited to 'phpBB/phpbb/search/fulltext_mysql.php')
-rw-r--r--phpBB/phpbb/search/fulltext_mysql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/search/fulltext_mysql.php b/phpBB/phpbb/search/fulltext_mysql.php
index cdd2da222f..509b73e26e 100644
--- a/phpBB/phpbb/search/fulltext_mysql.php
+++ b/phpBB/phpbb/search/fulltext_mysql.php
@@ -216,7 +216,7 @@ class fulltext_mysql extends \phpbb\search\base
// We limit the number of allowed keywords to minimize load on the database
if ($this->config['max_num_search_keywords'] && sizeof($this->split_words) > $this->config['max_num_search_keywords'])
{
- trigger_error($this->user->lang('MAX_NUM_SEARCH_KEYWORDS_REFINE', $this->config['max_num_search_keywords'], sizeof($this->split_words)));
+ trigger_error($this->user->lang('MAX_NUM_SEARCH_KEYWORDS_REFINE', (int) $this->config['max_num_search_keywords'], sizeof($this->split_words)));
}
// to allow phrase search, we need to concatenate quoted words