fix the way we create a new vcard to avoid to have multiple UIDs

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Bjoern Schiessle 2017-03-13 14:47:08 +01:00
parent 35d3a082f2
commit faf836b0c0
No known key found for this signature in database
GPG Key ID: 2378A753E2BF04F6
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ class Converter {
$image = $this->getAvatarImage($user); $image = $this->getAvatarImage($user);
$vCard = new VCard(); $vCard = new VCard();
$vCard->add(new Text($vCard, 'UID', $uid)); $vCard->VERSION = '3.0';
$vCard->UID = $uid;
$publish = false; $publish = false;