mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24: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:
|
||||
return ''
|
||||
|
||||
return value[itemname]
|
||||
return value.get(itemname, '')
|
||||
|
||||
Reference in New Issue
Block a user