From b932c3ad0ae99420397d322af8d5c498fc85b435 Mon Sep 17 00:00:00 2001
From: Ere Maijala <ere.maijala@helsinki.fi>
Date: Tue, 8 Mar 2016 17:04:38 +0200
Subject: [PATCH] Fixed ILS driver caching so that existing entries are
 updated.

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

diff --git a/module/VuFind/src/VuFind/ILS/Driver/AbstractBase.php b/module/VuFind/src/VuFind/ILS/Driver/AbstractBase.php
index 8fd9125ea99..563afe39c4d 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/AbstractBase.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/AbstractBase.php
@@ -153,6 +153,6 @@ abstract class AbstractBase implements DriverInterface
             'time' => time(),
             'entry' => $entry
         ];
-        $this->cache->addItem($this->formatCacheKey($key), $item);
+        $this->cache->setItem($this->formatCacheKey($key), $item);
     }
 }
-- 
GitLab