diff --git a/module/VuFind/src/VuFind/Search/Factory/SolrWebBackendFactory.php b/module/VuFind/src/VuFind/Search/Factory/SolrWebBackendFactory.php index 60caa4bfedd2e3609a7fa8fdf117071840bbb5f6..ecf4c0c0131554b9ed52dcbb10e872cd0aa8bf97 100644 --- a/module/VuFind/src/VuFind/Search/Factory/SolrWebBackendFactory.php +++ b/module/VuFind/src/VuFind/Search/Factory/SolrWebBackendFactory.php @@ -73,7 +73,7 @@ class SolrWebBackendFactory extends AbstractSolrBackendFactory { // Allow the searchConfig to override the default config if set. $webconfig = $this->config->get($this->searchConfig); - return isset($webconfig->Index->url) + return isset($webconfig->Index->url) ? $webconfig->Index->url . '/' . $this->getSolrCore() : parent::getSolrUrl(); }