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

svn: r19363
This commit is contained in:
Tim G L Lyons 2012-04-19 18:40:36 +00:00
parent da3349ff55
commit 0515433985

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)