diff --git a/ChangeLog b/ChangeLog index bb687ed88..905f41def 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-09-28 Wolfgang Sourdeau + + * SoObjects/SOGo/SOGoUser.m (+initialize): avoid a crash when + SOGoProfileURL is not set. + 2009-09-27 Ludovic Marcotte * Reworked the UIxMailPartSignedViewer to inherit diff --git a/SoObjects/SOGo/SOGoUser.m b/SoObjects/SOGo/SOGoUser.m index fc49e66b2..6ceb75d83 100644 --- a/SoObjects/SOGo/SOGoUser.m +++ b/SoObjects/SOGo/SOGoUser.m @@ -146,7 +146,8 @@ _timeValue (NSString *key) @" was renamed to 'SOGoProfileURL'"]; } } - SOGoProfileURL = [[NSURL alloc] initWithString: profileURL]; + if (profileURL) + SOGoProfileURL = [[NSURL alloc] initWithString: profileURL]; } if (!fallbackIMAP4Server) ASSIGN (fallbackIMAP4Server,