We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9187ec1 commit e9ae2d2Copy full SHA for e9ae2d2
app/code/Magento/Theme/Block/Html/Title.php
@@ -79,7 +79,7 @@ public function getPageHeading()
79
{
80
$pageTitle = !empty($this->pageTitle) ? $this->pageTitle : $this->pageConfig->getTitle()->getShortHeading();
81
82
- return $this->shouldTranslateTitle() ? __($pageTitle) : $pageTitle;
+ return $this->shouldTranslateTitle() ? __($pageTitle) : (string)$pageTitle;
83
}
84
85
/**
0 commit comments