modified MetaTags function to provide absolute links instead of using normal Link() method. This improves compatibility with the Translatable-Domains module and would provide accurate alternate href's to other locales that use different subdomains or TLD's.

This commit is contained in:
Chris Bryer 2012-02-22 22:44:03 -05:00
parent ba5d862474
commit baa7566933

View File

@ -1276,7 +1276,7 @@ class Translatable extends DataExtension implements PermissionProvider {
$tags .= sprintf($template,
Convert::raw2xml($translation->Title),
i18n::convert_rfc1766($translation->Locale),
$translation->Link()
$translation->AbsoluteLink()
);
}
}