Skip to content

Commit

Permalink
Fixed 'Undefined class constant' error when interceptor is generated …
Browse files Browse the repository at this point in the history
…(Plugin).
  • Loading branch information
vovayatsyuk committed Jun 18, 2020
1 parent c284664 commit 54531b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Theme/Block/Html/Title.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function setPageTitle($pageTitle)
private function shouldTranslateTitle(): bool
{
return $this->scopeConfig->isSetFlag(
static::XML_PATH_HEADER_TRANSLATE_TITLE,
self::XML_PATH_HEADER_TRANSLATE_TITLE,
ScopeInterface::SCOPE_STORE
);
}
Expand Down

0 comments on commit 54531b3

Please sign in to comment.