mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-01 15:15:34 +00:00
Fix exception in set operation of sogo-tool
This commit is contained in:
1 parent
601a9ca559
commit
c20ca0e33d
2 files changed
+3
-2
No files matched your search
@@ -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