diff options
Diffstat (limited to 'addressbook/backend/ebook/e-card-simple.c')
-rw-r--r-- | addressbook/backend/ebook/e-card-simple.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addressbook/backend/ebook/e-card-simple.c b/addressbook/backend/ebook/e-card-simple.c index 7cb644a802..ff65ff82b0 100644 --- a/addressbook/backend/ebook/e-card-simple.c +++ b/addressbook/backend/ebook/e-card-simple.c @@ -767,6 +767,10 @@ char *e_card_simple_get (ECardSimple *simple, gtk_object_get(GTK_OBJECT(simple->card), "org", &string, NULL); + if (string && *string) + return g_strdup(string); + string = e_card_simple_get_email(simple, + E_CARD_SIMPLE_EMAIL_ID_EMAIL); return g_strdup(string); case E_CARD_SIMPLE_FIELD_FAMILY_NAME: gtk_object_get (GTK_OBJECT(simple->card), |