Adjust block indentation

This commit is contained in:
Michal Kleiner 2016-08-04 16:32:59 +12:00
parent 4324d5b607
commit 7f34bac485

View File

@ -1577,12 +1577,12 @@ class Translatable extends DataExtension implements PermissionProvider {
if($translations->count()) {
$translations = $translations->toArray();
$translations[] = $this->owner;
foreach($translations as $translation) {
$tags .= sprintf($template,
Convert::raw2xml($translation->Title),
i18n::convert_rfc1766($translation->Locale),
$translation->AbsoluteLink()
foreach($translations as $translation) {
$tags .= sprintf($template,
Convert::raw2xml($translation->Title),
i18n::convert_rfc1766($translation->Locale),
$translation->AbsoluteLink()
);
}
}