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

Bug fix: return correct variables.

parent 79955b4f
No related merge requests found
......@@ -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
......
......@@ -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
......
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