From ea9818127ffa545eddfd85517146edd7b8cdb042 Mon Sep 17 00:00:00 2001 From: Robert Lange <robert.lange@uni-leipzig.de> Date: Fri, 7 Jan 2022 15:17:33 +0100 Subject: [PATCH] refs #20764 [vufing] undo comments in vufind to sync with dev * use EzbTrait.php for PR This reverts commit 6f1cc98cc985cb4ad753990dc75bb9f1aa84bfe1. --- module/VuFind/src/VuFind/Resolver/Driver/Ezb.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/VuFind/src/VuFind/Resolver/Driver/Ezb.php b/module/VuFind/src/VuFind/Resolver/Driver/Ezb.php index e2ea81b2789..7a102637b14 100644 --- a/module/VuFind/src/VuFind/Resolver/Driver/Ezb.php +++ b/module/VuFind/src/VuFind/Resolver/Driver/Ezb.php @@ -6,7 +6,7 @@ * http://services.dnb.de/fize-service/gvr/full.xml * * API documentation is available at - * http://www.zeitschriftendatenbank.de/services/journals-online-print + * http://www.zeitschriftendatenbank.de/services/schnittstellen/journals-online-print * * PHP version 7 * @@ -136,7 +136,7 @@ class Ezb extends AbstractBase public function getResolverUrl($openURL) { // Unfortunately the EZB-API only allows OpenURL V0.1 and - // breaks when sending a non expected parameter. + // breaks when sending a non expected parameter (like an ISBN). // So we do have to 'downgrade' the OpenURL-String from V1.0 to V0.1 // and exclude all parameters that are not compliant with the EZB. @@ -216,9 +216,9 @@ class Ezb extends AbstractBase } if ($newKey !== false) { $downgraded[] = "$newKey=$value"; + } } } - } return implode('&', $downgraded); } -- GitLab