From cb888a11ff2f9b6e06fb08f513bc1e0ccca4393c Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Mon, 7 Sep 2009 17:47:30 +0000 Subject: [PATCH] Initialize tags to nil so we avoid potential misbehaviors. Monotone-Parent: a62454d2734ee40074efa8872c2a7dfef7bf59fc Monotone-Revision: 3e7ac334a4ea19aa4ec2dcbc525628005ca75fb7 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2009-09-07T17:47:30 Monotone-Branch: ca.inverse.sogo --- UI/Scheduler/UIxCalendarProperties.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UI/Scheduler/UIxCalendarProperties.m b/UI/Scheduler/UIxCalendarProperties.m index d40ff0522..f0ed11b70 100644 --- a/UI/Scheduler/UIxCalendarProperties.m +++ b/UI/Scheduler/UIxCalendarProperties.m @@ -109,6 +109,8 @@ settings = [[context activeUser] userSettings]; calendarSettings = [settings objectForKey: @"Calendar"]; + tags = nil; + if (calendarSettings) { syncTags = [calendarSettings objectForKey: @"FolderSyncTags"];