Monotone-Parent: 253445df7ee9966d67a53263e1ffd5389ab09588
Monotone-Revision: 4b74905cc02ae0545c5ebcfdc467b052d5d42568 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-08-26T15:00:12 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
bf64bfdc1d
commit
4f7130e8a0
|
@ -1,5 +1,13 @@
|
|||
2009-08-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/MainUI/SOGoUserHomePage.m (-defaultAction): when the user has
|
||||
never logged in or switched module, the SOGoUIxLastModule
|
||||
preference would never be set, causing a crash when the moduleURL
|
||||
was created, because of a nil parameter. Also, the "defaultModule"
|
||||
global variable was set to the userDefinedModule, which is
|
||||
simply wrong as the global variable impacts all the users and need
|
||||
to be kept intact.
|
||||
|
||||
* SoObjects/Appointments/SOGoAptMailReceipt.[hm]: new module
|
||||
containing the template code for sending event receipts.
|
||||
|
||||
|
|
|
@ -98,12 +98,12 @@ static NSString *LDAPContactInfoAttribute = nil;
|
|||
{
|
||||
if ([userDefinedModule isEqualToString: @"Last"])
|
||||
userDefinedModule = [ud stringForKey: @"SOGoUIxLastModule"];
|
||||
|
||||
defaultModule = userDefinedModule;
|
||||
}
|
||||
if (!userDefinedModule)
|
||||
userDefinedModule = defaultModule;
|
||||
|
||||
co = [self clientObject];
|
||||
moduleURL = [NSURL URLWithString: defaultModule
|
||||
moduleURL = [NSURL URLWithString: userDefinedModule
|
||||
relativeToURL: [co soURL]];
|
||||
|
||||
return [self redirectToLocation: [moduleURL absoluteString]];
|
||||
|
|
Loading…
Reference in New Issue