diff --git a/src/ReportBase/_Endnotes.py b/src/ReportBase/_Endnotes.py index 10fdb3c99..07d6ce75e 100644 --- a/src/ReportBase/_Endnotes.py +++ b/src/ReportBase/_Endnotes.py @@ -151,6 +151,8 @@ def write_endnotes(bibliography, database, doc, printnotes=False): ind += 1 def _format_source_text(source): + if not source: return "" + src_txt = "" if source.get_author():