Skip to content

Commit

Permalink
Removed a wrong check when creating PARChanges from store logs, preve…
Browse files Browse the repository at this point in the history
…nting the creation of changes for logs where we had a nil propertylist value
  • Loading branch information
alexandergriekspoor committed Jan 6, 2018
1 parent cc8f57e commit abcc173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/PARStore.m
Expand Up @@ -2600,7 +2600,7 @@ - (PARChange *)changeFromLogDictionary:(NSDictionary *)logDictionary {
NSString *key = logDictionary[KeyAttributeName];
NSData *blob = logDictionary[BlobAttributeName];
id propertyList = (blob.length > 0 ? [self propertyListFromData:blob error:NULL] : nil);
if (timestamp != nil && key != nil && blob != nil)
if (timestamp != nil && key != nil)
{
PARChange *change = [PARChange changeWithTimestamp:timestamp parentTimestamp:parentTimestamp key:key propertyList:propertyList];
return change;
Expand Down

0 comments on commit abcc173

Please sign in to comment.