Skip to content

Commit

Permalink
Merge pull request CoderMJLee#143 from f33chobits/patch-3
Browse files Browse the repository at this point in the history
修复低级错误
  • Loading branch information
CoderMJLee committed Jul 26, 2015
2 parents 99e09bd + ce21408 commit 01ea3d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MJExtension/NSObject+MJKeyValue.m
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ - (instancetype)setKeyValues:(id)keyValues context:(NSManagedObjectContext *)con
if (objectClass == [NSURL class] && [value isKindOfClass:[NSArray class]]) {
NSMutableArray *urlArray = [NSMutableArray array];
for (NSString *string in value) {
if ([string isKindOfClass:[NSString class]]) continue;
if (![string isKindOfClass:[NSString class]]) continue;
[urlArray addObject:string.url];
}
value = urlArray;
Expand Down

0 comments on commit 01ea3d4

Please sign in to comment.