mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-05 05:18:51 +00:00
(fix) wrong handling of "last module" when logging in
This commit is contained in:
@@ -2086,6 +2086,10 @@ static NSArray *reminderValues = nil;
|
||||
// We convert our object into a mutable one
|
||||
v = [[v mutableCopy] autorelease];
|
||||
|
||||
if ([[v objectForKey: @"SOGoLoginModule"] isEqualToString: @"Last"])
|
||||
[v setObject: [NSNumber numberWithBool: YES] forKey: @"SOGoRememberLastModule"];
|
||||
else
|
||||
[v setObject: [NSNumber numberWithBool: NO] forKey: @"SOGoRememberLastModule"];
|
||||
|
||||
// We remove short/long date formats if they are default ones
|
||||
if ([[v objectForKey: @"SOGoShortDateFormat"] isEqualToString: @"default"])
|
||||
|
||||
Reference in New Issue
Block a user