aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/search/fulltext_native.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-01-24 21:47:37 +0100
committerMarc Alexander <admin@m-a-styles.de>2017-01-24 21:47:37 +0100
commit10dee52c18286524e62b10499120f7f8a4ca99e4 (patch)
tree50d18c35933a143ebfd864f9c12705e03f671245 /phpBB/phpbb/search/fulltext_native.php
parenta03047da5b0f640d4428a74012453df3dfa4f070 (diff)
downloadforums-10dee52c18286524e62b10499120f7f8a4ca99e4.tar
forums-10dee52c18286524e62b10499120f7f8a4ca99e4.tar.gz
forums-10dee52c18286524e62b10499120f7f8a4ca99e4.tar.bz2
forums-10dee52c18286524e62b10499120f7f8a4ca99e4.tar.xz
forums-10dee52c18286524e62b10499120f7f8a4ca99e4.zip
[ticket/15044] Make sure fulltext native min and max are numbers
PHPBB3-15044
Diffstat (limited to 'phpBB/phpbb/search/fulltext_native.php')
-rw-r--r--phpBB/phpbb/search/fulltext_native.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/search/fulltext_native.php b/phpBB/phpbb/search/fulltext_native.php
index 2071a973e5..73dcfce9a5 100644
--- a/phpBB/phpbb/search/fulltext_native.php
+++ b/phpBB/phpbb/search/fulltext_native.php
@@ -120,7 +120,7 @@ class fulltext_native extends \phpbb\search\base
$this->phpbb_dispatcher = $phpbb_dispatcher;
$this->user = $user;
- $this->word_length = array('min' => $this->config['fulltext_native_min_chars'], 'max' => $this->config['fulltext_native_max_chars']);
+ $this->word_length = array('min' => (int) $this->config['fulltext_native_min_chars'], 'max' => (int) $this->config['fulltext_native_max_chars']);
/**
* Load the UTF tools