aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/conduits/todo/todo-conduit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c
index a625cc7c39..fd1e906da7 100644
--- a/calendar/conduits/todo/todo-conduit.c
+++ b/calendar/conduits/todo/todo-conduit.c
@@ -913,7 +913,8 @@ comp_from_remote_record (GnomePilotConduitSyncAbs *conduit,
due = tm_to_icaltimetype (&todo.due, TRUE);
dt.value = &due;
e_cal_component_set_due (comp, &dt);
- }
+ } else
+ e_cal_component_set_due (comp, NULL);
switch (todo.priority) {
case 1: