diff --git a/NEWS b/NEWS index 87a34e030..9c6c1e770 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,7 @@ Bug fixes - [web] improved memory usage when importing very large address books - [web] fixed progress indicator while importing cards or events and tasks - [web] improved detection of changes in CKEditor (#3839) + - [web] fixed vCard generation for tags with no type (#3826) - [core] only consider SMTP addresses for AD's proxyAddresses (#3842) diff --git a/SoObjects/Contacts/NGVCard+SOGo.m b/SoObjects/Contacts/NGVCard+SOGo.m index d67622c26..ca01b8d7f 100644 --- a/SoObjects/Contacts/NGVCard+SOGo.m +++ b/SoObjects/Contacts/NGVCard+SOGo.m @@ -202,9 +202,13 @@ convention: list = [allValues objectEnumerator]; while ((value = [list nextObject])) { - element = [CardElement simpleElementWithTag: elementTag - singleType: type - value: value]; + if ([type length]) + element = [CardElement simpleElementWithTag: elementTag + singleType: type + value: value]; + else + element = [CardElement simpleElementWithTag: elementTag + value: value]; [self addChild: element]; } }