Skip to content

Commit fc9d96f

Browse files
ENGCOM-7713: Fixed 'Undefined class constant' error when interceptor is generated. #28797
- Merge Pull Request #28797 from vovayatsyuk/magento2:fix-undefined-constant-when-plugin-is-declared - Merged commits: 1. 54531b3 2. 1785136 3. 7620af2 4. dbad97b
2 parents 0516c8b + dbad97b commit fc9d96f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Theme/Block/Html/Title.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function setPageTitle($pageTitle)
101101
private function shouldTranslateTitle(): bool
102102
{
103103
return $this->scopeConfig->isSetFlag(
104-
static::XML_PATH_HEADER_TRANSLATE_TITLE,
104+
self::XML_PATH_HEADER_TRANSLATE_TITLE,
105105
ScopeInterface::SCOPE_STORE
106106
);
107107
}

0 commit comments

Comments
 (0)