mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Add fallback value for getitem template filter
This commit is contained in:
@@ -29,4 +29,4 @@ def getitem_filter(value, itemname):
|
|||||||
if not value:
|
if not value:
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
return value[itemname]
|
return value.get(itemname, '')
|
||||||
|
|||||||
Reference in New Issue
Block a user