Fix vCard generation for tags with no type

Fixes #3826
This commit is contained in:
Francis Lachapelle committed 2016-10-17 16:36:21 -04:00
1 parent 1c0c7ab256
commit f902b90348
2 files changed
+8 -3

No files matched your search

+7 -3
View File
@@ -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];
}
}