Skip to content

Commit 0456811

Browse files
authored
ENGCOM-7713: Fixed 'Undefined class constant' error when interceptor is generated. #28797
2 parents 78e9736 + fc9d96f commit 0456811

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)