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

Added missing parentheses (order of operations was incorrect before).

parent b56b0520
No related merge requests found
......@@ -419,7 +419,7 @@ class Summon extends SolrDefault
public function getThumbnail($size = 'small')
{
$formats = $this->getFormats();
if ($isbn = $this->getCleanISBN() || !empty($formats)) {
if (($isbn = $this->getCleanISBN()) || !empty($formats)) {
$params = array('size' => $size);
if ($isbn) {
$params['isn'] = $isbn;
......
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