From 1bda7f5b94d217a18225a470cbc3443ed6731f95 Mon Sep 17 00:00:00 2001
From: Ere Maijala <ere.maijala@helsinki.fi>
Date: Tue, 6 Feb 2018 15:36:55 +0200
Subject: [PATCH] Fix the search API record helper loading to use correct case.

---
 module/VuFindApi/src/VuFindApi/Formatter/RecordFormatter.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/VuFindApi/src/VuFindApi/Formatter/RecordFormatter.php b/module/VuFindApi/src/VuFindApi/Formatter/RecordFormatter.php
index 977c04f15bb..4f8453327cb 100644
--- a/module/VuFindApi/src/VuFindApi/Formatter/RecordFormatter.php
+++ b/module/VuFindApi/src/VuFindApi/Formatter/RecordFormatter.php
@@ -156,7 +156,7 @@ class RecordFormatter extends BaseFormatter
      */
     protected function getURLs($record)
     {
-        $recordHelper = $this->helperManager->get('Record');
+        $recordHelper = $this->helperManager->get('record');
         return $recordHelper($record)->getLinkDetails();
     }
 
-- 
GitLab