From 2f35c64055f739e3dda6ffc01ff514b0982f0e10 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Mon, 11 Nov 2013 11:05:54 -0500
Subject: [PATCH] Fixed bug -- wrong variable.

---
 module/VuFindSearch/src/VuFindSearch/Backend/SRU/Connector.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/VuFindSearch/src/VuFindSearch/Backend/SRU/Connector.php b/module/VuFindSearch/src/VuFindSearch/Backend/SRU/Connector.php
index c809d1d35fb..b6271628a22 100644
--- a/module/VuFindSearch/src/VuFindSearch/Backend/SRU/Connector.php
+++ b/module/VuFindSearch/src/VuFindSearch/Backend/SRU/Connector.php
@@ -215,7 +215,7 @@ class Connector implements LoggerAwareInterface
     public function checkForHttpError($result)
     {
         if (!$result->isSuccess()) {
-            throw HttpErrorException::createFromResponse($response);
+            throw HttpErrorException::createFromResponse($result);
         }
     }
 
-- 
GitLab