From 7d3e2cd9872230fbea7817f10f1d4c4b7f4bd2ce Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Tue, 13 Mar 2001 16:06:51 +0000 Subject: [PATCH] Add trim to Outlook import for each value, just in case (spaces break vcard spec) --- addressbook/conv/Import from Outlook | 1 + 1 file changed, 1 insertion(+) diff --git a/addressbook/conv/Import from Outlook b/addressbook/conv/Import from Outlook index 3f67f2581a..3be85e6c0c 100644 --- a/addressbook/conv/Import from Outlook +++ b/addressbook/conv/Import from Outlook @@ -156,6 +156,7 @@ } function import_new_attrib($buffer,$name,$value) { + $value = trim($value); $value = str_replace("\n","
",$value); $value = str_replace("\r","",$value); $this->currentrecord += array($name => $value);