Skip to content

Commit f4e2192

Browse files
author
Sam Tay
committed
fix typo in getCurrentCategoryKey
1 parent 19b26b5 commit f4e2192

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Catalog/Block/Navigation.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,15 @@ public function getCacheKeyInfo()
145145
$this->httpContext->getValue(Context::CONTEXT_GROUP),
146146
'template' => $this->getTemplate(),
147147
'name' => $this->getNameInLayout(),
148-
$this->getCurrenCategoryKey(),
148+
$this->getCurrentCategoryKey(),
149149
];
150150
$cacheId = $shortCacheId;
151151

152152
$shortCacheId = array_values($shortCacheId);
153153
$shortCacheId = implode('|', $shortCacheId);
154154
$shortCacheId = md5($shortCacheId);
155155

156-
$cacheId['category_path'] = $this->getCurrenCategoryKey();
156+
$cacheId['category_path'] = $this->getCurrentCategoryKey();
157157
$cacheId['short_cache_id'] = $shortCacheId;
158158

159159
return $cacheId;
@@ -164,7 +164,7 @@ public function getCacheKeyInfo()
164164
*
165165
* @return string
166166
*/
167-
public function getCurrenCategoryKey()
167+
public function getCurrentCategoryKey()
168168
{
169169
if (!$this->_currentCategoryKey) {
170170
$category = $this->_registry->registry('current_category');

0 commit comments

Comments
 (0)