[*] CO : Remove last separators
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9360 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
6235389101
commit
da97c9237c
1 file changed
+4
@@ -368,6 +368,10 @@ class AddressFormatCore extends ObjectModel
|
||||
$tmpText = trim($tmpText);
|
||||
$addressText .= (!empty($tmpText)) ? $tmpText.$newLine: '';
|
||||
}
|
||||
|
||||
$addressText = rtrim($addressText, $newLine);
|
||||
$addressText = rtrim($addressText, $separator);
|
||||
|
||||
return $addressText;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user