Project

General

Profile

Bug #89589 ยป typoLinkFixLanguageFallbackSubdomainIssue.diff

Georgi Mateev, 2019-11-06 04:34

View differences:

web/ay.dev/web/typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php (date 1573010584641)
if (
!$currentSite
|| $currentSite->getRootPageId() !== $siteOfTargetPage->getRootPageId()
|| $siteLanguageOfTargetPage->getBase()->getHost() !== $currentSiteLanguage->getBase()->getHost()) {
|| ($currentSiteLanguage->getFallbackType() !== 'fallback'
&& $siteLanguageOfTargetPage->getBase()->getHost(
) !== $currentSiteLanguage->getBase()->getHost())) {
$useAbsoluteUrl = true;
}
    (1-1/1)