Check for none

merge-requests/8/head
Bob Mottram 2020-11-05 23:22:12 +00:00
parent 80f4692813
commit 67e26b45c6
1 changed files with 4 additions and 0 deletions

View File

@ -5897,9 +5897,13 @@ def htmlCitations(baseDir: str, nickname: str, domain: str,
htmlStr += ' <center>\n'
htmlStr += translate['Choose newswire items ' +
'referenced in your article'] + '<br>'
if blogTitle is None:
blogTitle = ''
htmlStr += \
' <input type="hidden" name="blogTitle" value="' + \
blogTitle + '">\n'
if blogContent is None:
blogContent = ''
htmlStr += \
' <input type="hidden" name="blogContent" value="' + \
blogContent + '">\n'