mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/16758] Initialize search_query property with an empty string
PHPBB3-16758
This commit is contained in:
parent
c0f031ba3a
commit
257f59ed66
4 changed files with 4 additions and 4 deletions
|
@ -59,7 +59,7 @@ class fulltext_mysql extends base implements search_backend_interface
|
||||||
* Operators are prefixed in search query and common words excluded
|
* Operators are prefixed in search query and common words excluded
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $search_query;
|
protected $search_query = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains common words.
|
* 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
|
* Operators are prefixed in search query and common words excluded
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $search_query;
|
protected $search_query = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains common words.
|
* Contains common words.
|
||||||
|
|
|
@ -41,7 +41,7 @@ class fulltext_postgres extends base implements search_backend_interface
|
||||||
* Stores the tsearch query
|
* Stores the tsearch query
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $tsearch_query;
|
protected $tsearch_query = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* True if phrase search is supported.
|
* 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
|
* Operators are prefixed in search query and common words excluded
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $search_query;
|
protected $search_query = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|
Loading…
Add table
Reference in a new issue