Commit cafbebe6 authored by Bryton Lacquement's avatar Bryton Lacquement 🚪

fixup! erp5_ci_slideshow: support unobtainable creation dates (= None)

This is a fixup for commit 1519d81a.

There was a typo.
parent 3076a47b
Pipeline #6378 failed with stage
......@@ -87,7 +87,7 @@ document_content = removeEmptyDetails(document.getTextContent())
document_theme = getThemeFromFirstFollowUpProduct(document_reference)
document_title = document.getTitle()
document_description = document.getDescription()
document_creation_date = doc.getCreationDate()
document_creation_date = document.getCreationDate()
document_creation_year = document_creation_date.strftime('%Y') if document_creation_date else ''
document_theme_logo_url = "NXD-Media.Logo." + document_theme.capitalize()
document_theme_logo = context.restrictedTraverse(document_theme_logo_url)
......
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