From e59f6c0aad2511248045cf0edda73f5c859a63cf 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