aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-tag-editor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/e-mail-tag-editor.c b/mail/e-mail-tag-editor.c
index aed734163c..004cba7049 100644
--- a/mail/e-mail-tag-editor.c
+++ b/mail/e-mail-tag-editor.c
@@ -170,7 +170,7 @@ mail_tag_editor_get_tag_list (EMailTagEditor *editor)
text = camel_header_format_date (date, 0);
camel_tag_set (&tag_list, "due-by", text);
g_free (text);
- }
+ } else
camel_tag_set (&tag_list, "due-by", "");
if (e_mail_tag_editor_get_completed (editor)) {
@@ -178,7 +178,7 @@ mail_tag_editor_get_tag_list (EMailTagEditor *editor)
editor->priv->completed_date, 0);
camel_tag_set (&tag_list, "completed-on", text);
g_free (text);
- }
+ } else
camel_tag_set (&tag_list, "completed-on", "");
return tag_list;