From e2f192b7935f8ca316737db39372a3ab49479e83 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Fri, 14 Mar 2014 15:45:12 -0400 Subject: [PATCH] Fix display of company/department of cards Fixes #2662 --- NEWS | 1 + SOPE/NGCards/NGCardsSaxHandler.m | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index ac3e186fe..1585cf74a 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,7 @@ Bug fixes - fixed decoding of HTML entities in reminder alerts (#2659) - fixed check for resource conflict when creating an event in the resource's calendar (#2541) - fixed construction of mail folders tree + - fixed parsing of ORG attribute in cards (#2662) 2.2.1 (2014-03-07) ------------------ diff --git a/SOPE/NGCards/NGCardsSaxHandler.m b/SOPE/NGCards/NGCardsSaxHandler.m index db2a46f5b..5314dee08 100644 --- a/SOPE/NGCards/NGCardsSaxHandler.m +++ b/SOPE/NGCards/NGCardsSaxHandler.m @@ -46,7 +46,7 @@ static NSArray *privilegedTagNames = nil; if (!privilegedTagNames) { - privilegedTagNames = [NSArray arrayWithObjects: @"ADR", @"N", @"RRULE", nil]; + privilegedTagNames = [NSArray arrayWithObjects: @"ADR", @"N", @"RRULE", @"ORG", nil]; RETAIN(privilegedTagNames); }