From 74ffeef8fe3031b69e76163a5ece2bfb8705a2ed Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Thu, 2 Aug 2007 21:18:35 +0000 Subject: [PATCH] Monotone-Parent: 634dea34e91fc82d20a96d4ce002cbb9e2939243 Monotone-Revision: 2d2e743a5087ca30371568023cc4df66fe721a9d Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-08-02T21:18:35 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ UI/Contacts/UIxContactFoldersView.m | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bad50c6cf..93ede8750 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-08-02 Francis Lachapelle + + * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView _responseForResults:]): + has to return only one element. + 2007-08-01 Wolfgang Sourdeau * UI/MailPartViewers/UIxMailPartViewer.m ([UIxMailPartViewer diff --git a/UI/Contacts/UIxContactFoldersView.m b/UI/Contacts/UIxContactFoldersView.m index a2af399e1..cbc7b4451 100644 --- a/UI/Contacts/UIxContactFoldersView.m +++ b/UI/Contacts/UIxContactFoldersView.m @@ -147,7 +147,7 @@ { contacts = [results objectEnumerator]; contact = [contacts nextObject]; - while (contact) + if (contact) { responseString = [NSString stringWithFormat: @"%@:%@:%@", [contact objectForKey: @"c_uid"], @@ -157,7 +157,7 @@ // [response setHeader: @"text/plain; charset=iso-8859-1" // forKey: @"Content-Type"]; [response appendContentString: responseString]; - contact = [contacts nextObject]; +// contact = [contacts nextObject]; } } else