mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
This commit is contained in:
parent
62e496e529
commit
eb12c6d74d
@ -4,6 +4,7 @@ HumHub Change Log
|
||||
1.3.10 (Unreleased)
|
||||
---------------------------
|
||||
- Fix: Removed ContentTag logging in search update
|
||||
- Fix #2567 https://github.com/humhub/humhub/issues/2567
|
||||
|
||||
|
||||
1.3.9 (February 13, 2019)
|
||||
|
@ -163,7 +163,7 @@ class ZendLuceneSearch extends Search
|
||||
$options = $this->setDefaultFindOptions($options);
|
||||
|
||||
$index = $this->getIndex();
|
||||
$keyword = str_replace(['*', '?', '_', '$', '-', '.'], ' ', mb_strtolower($keyword, 'utf-8'));
|
||||
$keyword = str_replace(['*', '?', '_', '$', '-', '.', '\'', '+', '&&' ,'||' ,'!' ,'(', ')','{', '}', '[', ']', '^', '"', '~', ':', '\\'], ' ', mb_strtolower($keyword, 'utf-8'));
|
||||
|
||||
$query = $this->buildQuery($keyword, $options);
|
||||
if ($query === null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user