mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 18:11:47 +02:00
Merge branch 'ticket/17115' into ticket/17115-master
This commit is contained in:
@@ -393,7 +393,7 @@ class fulltext_native extends base implements search_backend_interface
|
||||
$word = substr($word, 1);
|
||||
|
||||
// a group of which at least one may not be in the resulting posts
|
||||
if ($word[0] == '(')
|
||||
if (isset($word[0]) && $word[0] == '(')
|
||||
{
|
||||
$word = array_unique(explode('|', substr($word, 1, -1)));
|
||||
$mode = 'must_exclude_one';
|
||||
|
Reference in New Issue
Block a user