[*] CO : Remove last separators
This commit is contained in:
1 parent
55256fb1b9
commit
783b58dd17
1 file changed
+4
@@ -368,6 +368,10 @@ class AddressFormatCore extends ObjectModel
|
|||||||
$tmpText = trim($tmpText);
|
$tmpText = trim($tmpText);
|
||||||
$addressText .= (!empty($tmpText)) ? $tmpText.$newLine: '';
|
$addressText .= (!empty($tmpText)) ? $tmpText.$newLine: '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$addressText = rtrim($addressText, $newLine);
|
||||||
|
$addressText = rtrim($addressText, $separator);
|
||||||
|
|
||||||
return $addressText;
|
return $addressText;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user