diff --git a/ChangeLog b/ChangeLog index 1a27e7f41..34f354f0f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2011-12-05 Wolfgang Sourdeau + * UI/Scheduler/UIxComponentEditor.m (-setCategory): ensure that + the new category is reported in the "categories" ivar. + * SoObjects/Appointments/iCalEvent+SOGo.m (-quickRecord): -[iCalEntityObject categories] returns an NSArray that we need to convert to a string for the database content. diff --git a/UI/Scheduler/UIxComponentEditor.m b/UI/Scheduler/UIxComponentEditor.m index 367478dda..6fd48ee8e 100644 --- a/UI/Scheduler/UIxComponentEditor.m +++ b/UI/Scheduler/UIxComponentEditor.m @@ -998,7 +998,7 @@ iRANGE(2); - (void) setCategory: (NSString *) newCategory { - ASSIGN (category, newCategory); + ASSIGN (categories, [NSArray arrayWithObject: newCategory]); } - (NSString *) category