typoLinkFixLanguageFallbackSubdomainIssue.diff

Georgi Mateev, 2019-11-06 04:34

Download (923 Bytes)

View differences:

web/ay.dev/web/typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php (date 1573010584641)
401 401
        if (
402 402
            !$currentSite
403 403
            || $currentSite->getRootPageId() !== $siteOfTargetPage->getRootPageId()
404
            || $siteLanguageOfTargetPage->getBase()->getHost() !== $currentSiteLanguage->getBase()->getHost()) {
404
			|| ($currentSiteLanguage->getFallbackType() !== 'fallback' 
405
				&& $siteLanguageOfTargetPage->getBase()->getHost(
406
				) !== $currentSiteLanguage->getBase()->getHost())) {
405 407
            $useAbsoluteUrl = true;
406 408
        }
407 409