From a6b16bd9f1950d6e855cddfbb25f529775754e79 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Fri, 25 Apr 2014 14:05:05 -0400
Subject: [PATCH] Fixed bug: wrong variable name.

---
 module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php b/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php
index ba63a74fc67..1905d97a4e3 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php
@@ -866,7 +866,7 @@ class VoyagerRestful extends Voyager implements \VuFindHttp\HttpServiceAwareInte
             // First get hold information for the list of items Voyager
             // thinks are holdable
             $request = $this->determineHoldType($patron['id'], $bibId);
-            if ($request != 'hold' && $result != 'recall') {
+            if ($request != 'hold' && $request != 'recall') {
                 return false;
             }
 
-- 
GitLab