Add trim to Outlook import for each value, just in case (spaces break vcard spec)

This commit is contained in:
Miles Lott 2001-03-13 16:06:51 +00:00
parent 3ac1647e3e
commit 7d3e2cd987

View File

@ -156,6 +156,7 @@
}
function import_new_attrib($buffer,$name,$value) {
$value = trim($value);
$value = str_replace("\n","<BR>",$value);
$value = str_replace("\r","",$value);
$this->currentrecord += array($name => $value);