Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
Fixed: Adding/removing an attachment didn't trigger a save of a Couch…
Browse files Browse the repository at this point in the history
…Model.

Change-Id: I4ac8ad86dbaf486c4442a9f3a5803fc3c652064c
  • Loading branch information
snej committed Nov 15, 2011
1 parent 42e92da commit afbe883
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Model/CouchModel.m
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ - (CouchAttachment*) createAttachmentWithName: (NSString*)name
_changedAttachments = [[NSMutableDictionary alloc] init];
[_changedAttachments setObject: (attach ? attach : [NSNull null])
forKey: name];
[self markNeedsSave];
return attach;
}

Expand Down

0 comments on commit afbe883

Please sign in to comment.