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 * 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.

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 * 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.

View file

@ -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.

View file

@ -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