Fix exception in set operation of sogo-tool

pull/70/head
Francis Lachapelle 2015-02-12 09:29:40 -05:00
parent 601a9ca559
commit c20ca0e33d
2 changed files with 3 additions and 2 deletions

3
NEWS
View File

@ -16,7 +16,8 @@ Bug fixes
- (regression) fixed sending a message when mail module is not active (#3088)
- mail lables with blanks are not handled correctly (#3078)
- fixed BlackBerry issues sending multiple mails over EAS (#3095)
- fixed plain/text mails showing on one line on Android/EAS (#3055)
- fixed plain/text mails showing on one line on Android/EAS (#3055)
- fixed exception in sogo-tool when parsing arguments of a set operation
2.2.15 (2015-01-30)
-------------------

View File

@ -254,7 +254,7 @@ typedef enum
//
// to achieve what we want.
//
if (o && [o count] == 1)
if (o && [o isKindOfClass: [NSDictionary class]] && [o count] == 1)
{
[source setObject: [[o allValues] lastObject] forKey: key];
}