diff --git a/module/VuFind/src/VuFind/Content/Summaries/Syndetics.php b/module/VuFind/src/VuFind/Content/Summaries/Syndetics.php index 67a12f0a346eb42633b913bb5207b3f2869b0e9a..e518f3a0c7e4a82b41da3274d5f23d18f35e3b10 100644 --- a/module/VuFind/src/VuFind/Content/Summaries/Syndetics.php +++ b/module/VuFind/src/VuFind/Content/Summaries/Syndetics.php @@ -81,7 +81,7 @@ class Syndetics extends \VuFind\Content\AbstractSyndetics $url = $this->getIsbnUrl($isbn, $key); $result = $this->getHttpClient($url)->send(); if (!$result->isSuccess()) { - return $excerpt; + return $summaries; } // Test XML Response diff --git a/module/VuFind/src/VuFind/Content/TOC/Syndetics.php b/module/VuFind/src/VuFind/Content/TOC/Syndetics.php index e68bc6b742ab85ba0e5a03550d3e9a7ea8b8642b..0d67d97a2e65cd05a7941b23752bf26c011cce66 100644 --- a/module/VuFind/src/VuFind/Content/TOC/Syndetics.php +++ b/module/VuFind/src/VuFind/Content/TOC/Syndetics.php @@ -79,7 +79,7 @@ class Syndetics extends \VuFind\Content\AbstractSyndetics $url = $this->getIsbnUrl($isbn, $key); $result = $this->getHttpClient($url)->send(); if (!$result->isSuccess()) { - return $excerpt; + return $toc; } // Test XML Response