mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
[ticket/15044] Make sure fulltext native min and max are numbers
PHPBB3-15044
This commit is contained in:
parent
a03047da5b
commit
10dee52c18
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue