From 75e69baebc9c9b3323a13f48d707cd1e1eef88f0 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Fri, 13 Mar 2015 08:38:05 -0400
Subject: [PATCH] Switched to stricter syntax.

---
 module/VuFind/src/VuFind/RecordDriver/WorldCat.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/module/VuFind/src/VuFind/RecordDriver/WorldCat.php b/module/VuFind/src/VuFind/RecordDriver/WorldCat.php
index bfe57c6d7fe..7fcefa1d3cd 100644
--- a/module/VuFind/src/VuFind/RecordDriver/WorldCat.php
+++ b/module/VuFind/src/VuFind/RecordDriver/WorldCat.php
@@ -165,7 +165,8 @@ class WorldCat extends SolrMarc
                 $retVal[] = $callNo;
             }
         }
-        if (!empty($dewey = $this->getDeweyCallNumber())) {
+        $dewey = $this->getDeweyCallNumber();
+        if (!empty($dewey)) {
             $retVal[] = $dewey;
         }
         return $retVal;
-- 
GitLab