diff --git a/module/VuFind/src/VuFind/ILS/Driver/NoILS.php b/module/VuFind/src/VuFind/ILS/Driver/NoILS.php index b34b62222ac540075f4a3aba7f532955c3b8bb6e..6c4a5593345b9bd8ffde2d7f275f574ba481852d 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/NoILS.php +++ b/module/VuFind/src/VuFind/ILS/Driver/NoILS.php @@ -263,7 +263,8 @@ class NoILS extends AbstractBase implements TranslatorAwareInterface // ID prefix, strip it off! $idPrefix = $this->getIdPrefix(); if (isset($result[0]['id']) && strlen($idPrefix) - && $idPrefix === substr($result[0]['id'], 0, strlen($idPrefix))) { + && $idPrefix === substr($result[0]['id'], 0, strlen($idPrefix)) + ) { $result[0]['id'] = substr($result[0]['id'], strlen($idPrefix)); } return empty($result) ? [] : $result;