diff --git a/module/VuFind/src/VuFind/Cover/Loader.php b/module/VuFind/src/VuFind/Cover/Loader.php index c5f2f4645d7a15cf3355d5e950ea5f101d4bcf90..0f788a794abac88707007ebf7b48d625437236f1 100644 --- a/module/VuFind/src/VuFind/Cover/Loader.php +++ b/module/VuFind/src/VuFind/Cover/Loader.php @@ -261,7 +261,7 @@ class Loader extends \VuFind\ImageLoader && !$this->fetchFromContentType() ) { if (isset($this->config->Content->makeDynamicCovers) - && false !== $this->config->Content->makeDynamicCovers + && $this->config->Content->makeDynamicCovers ) { $this->image = $this->getCoverGenerator()->generate( $settings['title'], $settings['author'], $settings['callnumber'] @@ -541,7 +541,7 @@ class Loader extends \VuFind\ImageLoader } $image = $result->getBody(); - + if ('' == $image) { return false; }