0005687: Can't delete a note, which is a citation.

svn: r19362
This commit is contained in:
Tim G L Lyons 2012-04-19 18:39:25 +00:00
parent 18a04b4935
commit 52079fb398

View File

@ -377,7 +377,7 @@ class DeleteNoteQuery(object):
self.db.commit_source(source, trans) self.db.commit_source(source, trans)
for handle in citation_list: for handle in citation_list:
source = self.db.get_citation_from_handle(handle) citation = self.db.get_citation_from_handle(handle)
citation.remove_note(note_handle) citation.remove_note(note_handle)
self.db.commit_citation(citation, trans) self.db.commit_citation(citation, trans)