From 01f9a83bcaca3a18439ae0bab27379c9a5ce96e2 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 22 Aug 2008 21:25:01 +0000 Subject: [PATCH] Monotone-Parent: cb3f479134d1d5c2e5302fa2bc5e9546144fd5df Monotone-Revision: 7add241a803ae2c2ee7ea4c1c708f60ef7e6498b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-08-22T21:25:01 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ UI/Contacts/UIxContactView.m | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 12c37be40..ca042d493 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-08-22 Wolfgang Sourdeau + * UI/Contacts/UIxContactView.m ([UIxContactView -workUrl]) + ([UIxContactView -homeUrl]): the test for the presence of a + protocol was inverted, causing the output of wrong urls anyway... + * SoObjects/Contacts/SOGoContactLDIFEntry.m ([SOGoContactLDIFEntry -vCard]): replaced query for field "notes" with "description". Added support for Mozilla custom fields 1 to 4. diff --git a/UI/Contacts/UIxContactView.m b/UI/Contacts/UIxContactView.m index 5efce1000..fd66726fc 100644 --- a/UI/Contacts/UIxContactView.m +++ b/UI/Contacts/UIxContactView.m @@ -316,7 +316,7 @@ { url = [[elements objectAtIndex: 0] value: 0]; - if ([[url lowercaseString] rangeOfString: @"://"].length) + if (![[url lowercaseString] rangeOfString: @"://"].length) url = [NSString stringWithFormat: @"http://%@", url]; data = [NSString stringWithFormat: