From 57b9a10fc89b1af143699115c0210b22c1c2eb29 Mon Sep 17 00:00:00 2001 From: Philip Bauer Date: Thu, 10 Sep 2020 18:31:17 +0200 Subject: [PATCH] fix typo and add changelog --- Products/ATContentTypes/skins/ATContentTypes/atct_topic_pdf.pt | 2 +- news/24.bugfix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 news/24.bugfix diff --git a/Products/ATContentTypes/skins/ATContentTypes/atct_topic_pdf.pt b/Products/ATContentTypes/skins/ATContentTypes/atct_topic_pdf.pt index 4f5f1791..bc89272c 100644 --- a/Products/ATContentTypes/skins/ATContentTypes/atct_topic_pdf.pt +++ b/Products/ATContentTypes/skins/ATContentTypes/atct_topic_pdf.pt @@ -38,7 +38,7 @@ item_created item/CreationDate; item_wf_state item/review_state; item_creators item/Creators|item/Creator; - item_creators python:item_creators if same_type(item_creators,[]) or same_type(item_creators,()) or [item_creators]; + item_creators python:item_creators if same_type(item_creators,[]) or same_type(item_creators,()) else [item_creators]; item_start item/start/ISO|item/StartDate|nothing; item_end item/end/ISO|item/EndDate|nothing;"> diff --git a/news/24.bugfix b/news/24.bugfix new file mode 100644 index 00000000..9c050c45 --- /dev/null +++ b/news/24.bugfix @@ -0,0 +1 @@ +Drop use of test() in templates [pbauer] \ No newline at end of file