Skip to content
Snippets Groups Projects
Commit 5192c48c authored by Demian Katz's avatar Demian Katz
Browse files

Fixed bug: unreachable warning code.

parent 86b1fdc3
No related merge requests found
......@@ -157,7 +157,7 @@ class Backend implements BackendInterface, MoreLikeThis, RetrieveBatchInterface
$params = $params ?: new ParamBag();
$this->injectResponseWriter($params);
$spellcheck = $params->get('spellcheck.q') && !empty($this->dictionaries);
$spellcheck = $params->get('spellcheck.q');
if ($spellcheck) {
if (empty($this->dictionaries)) {
$this->log(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment