diff --git a/module/VuFind/src/VuFind/Controller/ChannelsController.php b/module/VuFind/src/VuFind/Controller/ChannelsController.php index 44ac183261d982e66fe669e2aaa229685f4e23ae..94f96a04066d91b573143f3212fecad662b8ab3c 100644 --- a/module/VuFind/src/VuFind/Controller/ChannelsController.php +++ b/module/VuFind/src/VuFind/Controller/ChannelsController.php @@ -88,8 +88,8 @@ class ChannelsController extends AbstractBase if (isset($config->General->cache_home_channels) && $config->General->cache_home_channels ) { - $parts = implode('-', [implode(',', $providerIds), $searchClassId, $token]); - $cacheKey = 'homeChannels-' . md5($parts); + $parts = [implode(',', $providerIds), $searchClassId, $token]; + $cacheKey = 'homeChannels-' . md5(implode('-', $parts)); $cache = $this->serviceLocator->get('VuFind\CacheManager') ->getCache('object'); } else {