mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-02 15:24:17 +00:00
Fix exception in set operation of sogo-tool
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user