Modified add_citation() to return the citation ID number.
Authored by: bugman 2009-10-13
Parent: [r9757]
Child: [r9759]