From f671b35c51f6624450223476d2e518882cb7709a Mon Sep 17 00:00:00 2001 From: Fabian Erni <ferni@snowflake.ch> Date: Tue, 12 Mar 2013 11:20:17 +0100 Subject: [PATCH] Update MultiBackend.php In case you named your driver in camel case (we did), the source (which is now lower case only) will no longer match the key in $this->drivers (which contains the original keys from the file) and the loading of the driver will fail --- module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php b/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php index b187b57f151..ba48d0789dd 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php +++ b/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php @@ -258,8 +258,6 @@ class MultiBackend extends AbstractBase implements ServiceLocatorAwareInterface */ protected function getUninitializedDriver($source) { - $source = strtolower($source); - // We don't really care if it's initialized here. If it is, then there's // still no added overhead of returning an initialized driver. if (isset($this->cache[$source])) { -- GitLab