summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/addressbook/abtable.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/pim/addressbook/abtable.cpp b/core/pim/addressbook/abtable.cpp
index b8127e9..e333b17 100644
--- a/core/pim/addressbook/abtable.cpp
+++ b/core/pim/addressbook/abtable.cpp
@@ -689,11 +689,13 @@ QString AbTable::findContactContact( const OContact &entry, int /* row */ )
case Qtopia::Gender:
value = entry.gender();
break;
case Qtopia::Birthday:
+ if ( ! entry.birthday().isNull() )
value = TimeString::numberDateString( entry.birthday() );
break;
case Qtopia::Anniversary:
+ if ( ! entry.anniversary().isNull() )
value = TimeString::numberDateString( entry.anniversary() );
break;
case Qtopia::Nickname:
value = entry.nickname();