From b757399057c955086c19774d74ff0b4cfbc41ea8 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Tue, 12 Jun 2018 13:41:31 -0400 Subject: [PATCH] Remove hard-coded config name. --- .../src/VuFind/Search/Factory/SolrDefaultBackendFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/VuFind/src/VuFind/Search/Factory/SolrDefaultBackendFactory.php b/module/VuFind/src/VuFind/Search/Factory/SolrDefaultBackendFactory.php index 377d0dae199..2afeae41f39 100644 --- a/module/VuFind/src/VuFind/Search/Factory/SolrDefaultBackendFactory.php +++ b/module/VuFind/src/VuFind/Search/Factory/SolrDefaultBackendFactory.php @@ -61,7 +61,7 @@ class SolrDefaultBackendFactory extends AbstractSolrBackendFactory */ protected function getSolrCore() { - $config = $this->config->get('config'); + $config = $this->config->get($this->mainConfig); return isset($config->Index->default_core) ? $config->Index->default_core : 'biblio'; } -- GitLab