From 891133c85e9e2a5ac23ba4598881037fbef6d242 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sat, 5 Nov 2016 14:21:04 +0100 Subject: [PATCH] Fixed exception during wcf installation --- .../system/cache/builder/EventListenerCacheBuilder.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/cache/builder/EventListenerCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/EventListenerCacheBuilder.class.php index e057b0ebc3..1a9000d0fa 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/EventListenerCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/EventListenerCacheBuilder.class.php @@ -83,7 +83,7 @@ class EventListenerCacheBuilder extends AbstractCacheBuilder { $data = parent::getData($parameters, $arrayIndex); // work-around for update from 2.1 (changed cache structure :-() - if (is_array($data['inheritedActions']['admin']['wcf\page\AbstractPage']['readParameters'][0])) { + if (isset($data['inheritedActions']['admin']['wcf\page\AbstractPage']['readParameters'][0]) && is_array($data['inheritedActions']['admin']['wcf\page\AbstractPage']['readParameters'][0])) { $index = CacheHandler::getInstance()->getCacheIndex($parameters); $data = $this->cache[$index] = $this->rebuild($parameters); $this->reset(); -- 2.20.1