Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
The typo will break sub categories from appearing in the breadcrumbs
  • Loading branch information
Yamaha32088 authored Dec 14, 2018
1 parent 32e14db commit bf7ee62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Catalog/ViewModel/Product/Breadcrumbs.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function getJsonConfiguration()
return $this->escaper->escapeHtml($this->json->serialize([
'breadcrumbs' => [
'categoryUrlSuffix' => $this->escaper->escapeHtml($this->getCategoryUrlSuffix()),
'userCategoryPathInUrl' => (int)$this->isCategoryUsedInProductUrl(),
'useCategoryPathInUrl' => (int)$this->isCategoryUsedInProductUrl(),
'product' => $this->getProductName()
]
]));
Expand Down

0 comments on commit bf7ee62

Please sign in to comment.