mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Properly implement and test quota checking in the voucher admin
This also fixes #170
This commit is contained in:
@@ -29,7 +29,7 @@ def extract_form_fields(soup):
|
||||
if field.has_attr('checked'):
|
||||
data[field['name']] = field.get('value', 'on')
|
||||
continue
|
||||
else:
|
||||
elif field.has_attr('name'):
|
||||
# single element name/value fields
|
||||
data[field['name']] = field.get('value', '')
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user