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: