Skip to content

Commit

Permalink
ENGCOM-8157: Fix #29879 Breadcrump Undefined class constant 'XML_PATH…
Browse files Browse the repository at this point in the history
…_CATEGORY_URL_SUFFIX' #29925
  • Loading branch information
gabrieldagama authored Sep 10, 2020
2 parents fea8b14 + e7f6599 commit dc84979
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/Catalog/ViewModel/Product/Breadcrumbs.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function __construct(
public function getCategoryUrlSuffix()
{
return $this->scopeConfig->getValue(
static::XML_PATH_CATEGORY_URL_SUFFIX,
self::XML_PATH_CATEGORY_URL_SUFFIX,
ScopeInterface::SCOPE_STORE
);
}
Expand All @@ -84,7 +84,7 @@ public function getCategoryUrlSuffix()
public function isCategoryUsedInProductUrl(): bool
{
return $this->scopeConfig->isSetFlag(
static::XML_PATH_PRODUCT_USE_CATEGORIES,
self::XML_PATH_PRODUCT_USE_CATEGORIES,
ScopeInterface::SCOPE_STORE
);
}
Expand Down

0 comments on commit dc84979

Please sign in to comment.