0005687: Can't delete a note, which is a citation.
svn: r19362
This commit is contained in:
parent
18a04b4935
commit
52079fb398
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user