diff --git a/app/code/Magento/Catalog/Block/Navigation.php b/app/code/Magento/Catalog/Block/Navigation.php index 00e14123cd749..0d7420280601b 100644 --- a/app/code/Magento/Catalog/Block/Navigation.php +++ b/app/code/Magento/Catalog/Block/Navigation.php @@ -145,7 +145,7 @@ public function getCacheKeyInfo() $this->httpContext->getValue(Context::CONTEXT_GROUP), 'template' => $this->getTemplate(), 'name' => $this->getNameInLayout(), - $this->getCurrenCategoryKey(), + $this->getCurrentCategoryKey(), ]; $cacheId = $shortCacheId; @@ -153,7 +153,7 @@ public function getCacheKeyInfo() $shortCacheId = implode('|', $shortCacheId); $shortCacheId = md5($shortCacheId); - $cacheId['category_path'] = $this->getCurrenCategoryKey(); + $cacheId['category_path'] = $this->getCurrentCategoryKey(); $cacheId['short_cache_id'] = $shortCacheId; return $cacheId; @@ -164,7 +164,7 @@ public function getCacheKeyInfo() * * @return string */ - public function getCurrenCategoryKey() + public function getCurrentCategoryKey() { if (!$this->_currentCategoryKey) { $category = $this->_registry->registry('current_category');