Permalink
Browse files

Merge branch 'master' of github.com:magicalpanda/MagicalRecord

  • Loading branch information...
2 parents b81e70d + 272af9c commit 835b4675f65c3fc08d1aac60f10415d833b114d3 @blackgold9 blackgold9 committed Oct 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 MagicalRecord/Categories/NSManagedObject/NSManagedObject+MagicalDataImport.m
@@ -137,7 +137,7 @@ - (void) MR_setRelationships:(NSDictionary *)relationships forKeysWithObject:(id
NSRelationshipDescription *relationshipInfo = [relationships valueForKey:relationshipName];
NSString *lookupKey = [[relationshipInfo userInfo] valueForKey:kMagicalRecordImportRelationshipMapKey] ?: relationshipName;
- id relatedObjectData = [relationshipData valueForKey:lookupKey];
+ id relatedObjectData = [relationshipData valueForKeyPath:lookupKey];
if (relatedObjectData == nil || [relatedObjectData isEqual:[NSNull null]])
{

0 comments on commit 835b467

Please sign in to comment.