Skip to content
Snippets Groups Projects
Commit 6f1cc98c authored by André Lahmann's avatar André Lahmann Committed by Robert Lange
Browse files

refs #20764 [vufind] update comments

parent 6ae36bac
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* http://services.dnb.de/fize-service/gvr/full.xml * http://services.dnb.de/fize-service/gvr/full.xml
* *
* API documentation is available at * API documentation is available at
* http://www.zeitschriftendatenbank.de/services/schnittstellen/journals-online-print * http://www.zeitschriftendatenbank.de/services/journals-online-print
* *
* PHP version 7 * PHP version 7
* *
...@@ -136,7 +136,7 @@ class Ezb extends AbstractBase ...@@ -136,7 +136,7 @@ class Ezb extends AbstractBase
public function getResolverUrl($openURL) public function getResolverUrl($openURL)
{ {
// Unfortunately the EZB-API only allows OpenURL V0.1 and // Unfortunately the EZB-API only allows OpenURL V0.1 and
// breaks when sending a non expected parameter (like an ISBN). // breaks when sending a non expected parameter.
// So we do have to 'downgrade' the OpenURL-String from V1.0 to V0.1 // 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. // and exclude all parameters that are not compliant with the EZB.
...@@ -216,9 +216,9 @@ class Ezb extends AbstractBase ...@@ -216,9 +216,9 @@ class Ezb extends AbstractBase
} }
if ($newKey !== false) { if ($newKey !== false) {
$downgraded[] = "$newKey=$value"; $downgraded[] = "$newKey=$value";
}
} }
} }
}
return implode('&', $downgraded); return implode('&', $downgraded);
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment