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:
commit
a57195534d
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user