Commit 31fc01e5 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Bug fixed in highlight_cppm_speaker.

parent 07412c52
......@@ -50,7 +50,7 @@ def highlight_cppm_speaker(value, template, record):
# cppm speaker is in bold
speaker = record.publications.conference_speaker.strip()
if speaker in record.publications.authors_cppm:
if speaker and speaker in record.publications.authors_cppm:
value = value.replace(speaker, '<b>%s</b>' % speaker)
# cppm auhtors are underlined
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment