diff --git a/Blacklight/SphinxSearch.php b/Blacklight/SphinxSearch.php index fb8aefc6d..c08467eb4 100755 --- a/Blacklight/SphinxSearch.php +++ b/Blacklight/SphinxSearch.php @@ -67,7 +67,7 @@ class SphinxSearch */ public function insertRelease(array $parameters): void { - if ($this->sphinxQL !== null && $parameters['id']) { + if ($parameters['id']) { $this->sphinxQL ->replace() ->into($this->config['indexes']['releases']) @@ -87,7 +87,7 @@ class SphinxSearch */ public function insertPredb(array $parameters): void { - if ($this->sphinxQL !== null && $parameters['id']) { + if ($parameters['id']) { $this->sphinxQL ->replace() ->into($this->config['indexes']['predb'])