diff --git a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php
index 067d5795ce5d94669313e2f83b6237ea61c6e7a1..fae4a12e6aaa2ad883247ea9c0197071ed8bb4e2 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php
@@ -1239,7 +1239,7 @@ class KohaILSDI extends \VuFind\ILS\Driver\AbstractBase implements
             $requestTimes[] = $end - $start;
             $renewable = false;
             foreach ($rsp2->{'AvailableFor'} as $service) {
-                if ($this->getField($service->{0}) == "loan renewal") {
+                if ($this->getField((string)$service) == "loan renewal") {
                     $renewable = true;
                 }
             }