Skip to content
Snippets Groups Projects
Commit 16cb64a6 authored by Demian Katz's avatar Demian Katz
Browse files

Style fixes.

parent f1dcfc18
No related merge requests found
...@@ -87,7 +87,8 @@ class Factory ...@@ -87,7 +87,8 @@ class Factory
{ {
$config = $sm->getServiceLocator()->get('VuFind\Config')->get('config'); $config = $sm->getServiceLocator()->get('VuFind\Config')->get('config');
$url = isset($config->Buchhandel->url) $url = isset($config->Buchhandel->url)
? trim($config->Buchhandel->url, '/').'/' : 'https://api.vlb.de/api/v1/cover/'; ? trim($config->Buchhandel->url, '/') . '/'
: 'https://api.vlb.de/api/v1/cover/';
if (!isset($config->Buchhandel->token)) { if (!isset($config->Buchhandel->token)) {
throw new \Exception("Buchhandel.de 'token' not set in VuFind config"); throw new \Exception("Buchhandel.de 'token' not set in VuFind config");
} }
......
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