diff --git a/ChangeLog b/ChangeLog index 392b9c753..fe3109dc9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-11-08 Wolfgang Sourdeau + + * SoObjects/SOGo/AgenorUserDefaults.m ([AgenorUserDefaults + -primaryFetchProfile]): when no row is returned, we initialize + "values" to a new dictionary. This solves a bug where the defaults + would not be initialized properly. + 2007-11-07 Wolfgang Sourdeau * SoObjects/SOGo/SOGoGCSFolder.m ([-compare:otherFolder]): method diff --git a/SoObjects/SOGo/AgenorUserDefaults.m b/SoObjects/SOGo/AgenorUserDefaults.m index 5c7db08dc..e5b541ea5 100644 --- a/SoObjects/SOGo/AgenorUserDefaults.m +++ b/SoObjects/SOGo/AgenorUserDefaults.m @@ -163,6 +163,8 @@ static NSString *uidColumnName = @"c_uid"; else values = [NSMutableDictionary new]; } + else + values = [NSMutableDictionary new]; ASSIGN (lastFetch, [NSCalendarDate date]); defFlags.modified = NO;