Check for none

main
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 += ' <center>\n'
htmlStr += translate['Choose newswire items ' + htmlStr += translate['Choose newswire items ' +
'referenced in your article'] + '<br>' 'referenced in your article'] + '<br>'
if blogTitle is None:
blogTitle = ''
htmlStr += \ htmlStr += \
' <input type="hidden" name="blogTitle" value="' + \ ' <input type="hidden" name="blogTitle" value="' + \
blogTitle + '">\n' blogTitle + '">\n'
if blogContent is None:
blogContent = ''
htmlStr += \ htmlStr += \
' <input type="hidden" name="blogContent" value="' + \ ' <input type="hidden" name="blogContent" value="' + \
blogContent + '">\n' blogContent + '">\n'