Skip to content
Snippets Groups Projects
Commit 898fe282 authored by David Maus's avatar David Maus
Browse files

Fix SOLR Backend, E_STRICT

* VuFindSearch/Backend/Solr/Backend.php (search): Use dedicated
  variable for E_STRICT compliance.
parent b41c97a8
No related merge requests found
...@@ -180,8 +180,9 @@ class Backend implements BackendInterface, SimilarInterface, RetrieveBatchInterf ...@@ -180,8 +180,9 @@ class Backend implements BackendInterface, SimilarInterface, RetrieveBatchInterf
$this->injectSourceIdentifier($collection); $this->injectSourceIdentifier($collection);
if ($spellcheck) { if ($spellcheck) {
$spellcheckQuery = $params->get('spellcheck.q');
$this->aggregateSpellcheck( $this->aggregateSpellcheck(
$collection->getSpellcheck(), end($params->get('spellcheck.q')) $collection->getSpellcheck(), end($spellcheckQuery)
); );
} }
......
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