1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-14 12:40:13 +01:00

Merge pull request #6190 from rubencm/ticket/16758

[ticket/16758] Initialize search_query property with an empty string …
This commit is contained in:
Marc Alexander 2021-04-15 22:05:30 +02:00 committed by GitHub
commit a57195534d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -59,7 +59,7 @@ class fulltext_mysql extends base implements search_backend_interface
* Operators are prefixed in search query and common words excluded
* @var string
*/
protected $search_query;
protected $search_query = '';
/**
* Contains common words.

View File

@ -48,7 +48,7 @@ class fulltext_native extends base implements search_backend_interface
* Operators are prefixed in search query and common words excluded
* @var string
*/
protected $search_query;
protected $search_query = '';
/**
* Contains common words.

View File

@ -41,7 +41,7 @@ class fulltext_postgres extends base implements search_backend_interface
* Stores the tsearch query
* @var string
*/
protected $tsearch_query;
protected $tsearch_query = '';
/**
* True if phrase search is supported.

View File

@ -137,7 +137,7 @@ class fulltext_sphinx implements search_backend_interface
* Operators are prefixed in search query and common words excluded
* @var string
*/
protected $search_query;
protected $search_query = '';
/**
* Constructor