From 424a48b96010293aea7c950ea6fb4b0ffd7ba862 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 18 Sep 2006 15:29:06 +0000 Subject: [PATCH] Monotone-Parent: 3eebff6c3d23fc58587f9e610046a48169abeb91 Monotone-Revision: 1ff171a5bfb5ed0bd389856e4e95bbf10e4150c3 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-18T15:29:06 Monotone-Branch: ca.inverse.sogo --- UI/Contacts/UIxContactView.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UI/Contacts/UIxContactView.m b/UI/Contacts/UIxContactView.m index 2dc5856a2..33742809e 100644 --- a/UI/Contacts/UIxContactView.m +++ b/UI/Contacts/UIxContactView.m @@ -373,7 +373,9 @@ - (BOOL) hasOtherInfos { - return ([card note] || [card bday] || [card tz]); + return ([[card note] length] > 0 + || [[card bday] length] > 0 + || [[card tz] length] > 0); } - (NSString *) bday