Skip to content

Commit 5c2ce64

Browse files
author
Kopylova,Olga(okopylova)
committed
Merge pull request #228 from magento-ogre/MAGETWO-36056-Error-Generating-Test-Data
[Ogre's] Error Generating Test Data
2 parents 9ecc120 + ac13b19 commit 5c2ce64

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/App/Cache/Type/FrontendPool.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ protected function _getCacheFrontendId($cacheType)
104104
$result = null;
105105
$cacheInfo = $this->deploymentConfig->getConfigData(self::KEY_CACHE);
106106
if (null !== $cacheInfo) {
107-
$result = $cacheInfo[self::KEY_CACHE_TYPE][$cacheType][self::KEY_FRONTEND_CACHE];
107+
$result = isset($cacheInfo[self::KEY_CACHE_TYPE][$cacheType][self::KEY_FRONTEND_CACHE]) ?
108+
$cacheInfo[self::KEY_CACHE_TYPE][$cacheType][self::KEY_FRONTEND_CACHE] : null;
108109
}
109110
if (!$result) {
110111
if (isset($this->_typeFrontendMap[$cacheType])) {

0 commit comments

Comments
 (0)