summaryrefslogtreecommitdiff
path: root/src/core/contacts-structured-name-chunk.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/contacts-structured-name-chunk.vala')
-rw-r--r--src/core/contacts-structured-name-chunk.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/contacts-structured-name-chunk.vala b/src/core/contacts-structured-name-chunk.vala
index 388aa9f..3ac8016 100644
--- a/src/core/contacts-structured-name-chunk.vala
+++ b/src/core/contacts-structured-name-chunk.vala
@@ -67,7 +67,7 @@ public class Contacts.StructuredNameChunk : Chunk {
}
public override Value? to_value () {
- return this.structured_name;
+ return (this.is_empty)? null : this.structured_name;
}
public override async void save_to_persona () throws GLib.Error