diff --git a/addressbook/inc/class.sifaddressbook.inc.php b/addressbook/inc/class.sifaddressbook.inc.php index bd163d3581..eafbd161d1 100644 --- a/addressbook/inc/class.sifaddressbook.inc.php +++ b/addressbook/inc/class.sifaddressbook.inc.php @@ -100,7 +100,7 @@ class sifaddressbook extends bocontacts function endElement($_parser, $_tag) { if(!empty($this->sifMapping[$_tag])) { - $this->contact[$this->sifMapping[$_tag]] = $this->sifData; + $this->contact[$this->sifMapping[$_tag]] = trim($this->sifData); } unset($this->sifData); }