forked from CGM_Public/pretix_original
Fixed bug introduced in last commit
This commit is contained in:
@@ -61,7 +61,7 @@ def _re_add_expired_positions(items: List[dict], event: Event, cart_id: str, now
|
|||||||
'count': 1,
|
'count': 1,
|
||||||
'price': cp.price,
|
'price': cp.price,
|
||||||
'cp': cp,
|
'cp': cp,
|
||||||
'voucher': cp.voucher.code
|
'voucher': cp.voucher.code if cp.voucher else None
|
||||||
})
|
})
|
||||||
positions.add(cp)
|
positions.add(cp)
|
||||||
return positions
|
return positions
|
||||||
|
|||||||
Reference in New Issue
Block a user