diff --git a/module/VuFind/src/VuFind/ILS/Connection.php b/module/VuFind/src/VuFind/ILS/Connection.php
index 8035a8490cf9f595888c6de869cf7bf5a89f3176..cba0a8e434d485270f74dc5f286c9db13127c123 100644
--- a/module/VuFind/src/VuFind/ILS/Connection.php
+++ b/module/VuFind/src/VuFind/ILS/Connection.php
@@ -938,8 +938,7 @@ class Connection implements TranslatorAwareInterface, LoggerAwareInterface
             // the driver class without wasting time initializing it; if NoILS
             // failover is enabled, we have to initialize the driver object now
             // to be sure we are checking capabilities on the appropriate class.
-            $driverToCheck = $this->hasNoILSFailover()
-                ? $this->getDriver() : $this->getDriverClass();
+            $driverToCheck = $this->getDriver($this->hasNoILSFailover());
 
             // First check that the function is callable:
             if (is_callable([$driverToCheck, $method])) {