From dbe63117dd9d180e82307eef857befcc1e17a45e Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 12 Sep 2017 12:43:23 -0400
Subject: [PATCH] Style fix.

---
 module/VuFind/src/VuFind/Controller/ChannelsController.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/module/VuFind/src/VuFind/Controller/ChannelsController.php b/module/VuFind/src/VuFind/Controller/ChannelsController.php
index 44ac183261d..94f96a04066 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 {
-- 
GitLab