diff --git a/ChangeLog b/ChangeLog index edbca8933..e66008742 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-12-04 Ludovic Marcotte + + * Fixed a typ in SoObjects/SOGo/SOGoCache.m + that would lead to a crash + 2008-12-03 Francis Lachapelle * UI/MailPartViewers/UIxMailPartICalViewer.m diff --git a/SoObjects/SOGo/SOGoCache.m b/SoObjects/SOGo/SOGoCache.m index 2bc62fe5e..ed9f65611 100644 --- a/SoObjects/SOGo/SOGoCache.m +++ b/SoObjects/SOGo/SOGoCache.m @@ -248,7 +248,7 @@ static SOGoCache *sharedCache = nil; if ((user = [users objectForKey: uid])) { [[user userDefaults] setValues: [[theNotification userInfo] objectForKey: @"values"]]; - [self setCachedUserDefaults: [user userDefaults] forKey: uid]; + [SOGoCache setCachedUserDefaults: (SOGoUserDefaults*)[user userDefaults] user: uid]; } else { @@ -266,7 +266,7 @@ static SOGoCache *sharedCache = nil; if ((user = [users objectForKey: uid])) { [[user userSettings] setValues: [[theNotification userInfo] objectForKey: @"values"]]; - [self setCachedUserSettings: [user userSettings] forKey: uid]; + [SOGoCache setCachedUserSettings: (SOGoUserDefaults *)[user userSettings] user: uid]; } else {