mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Add order-level telephone field to core (#1872)
Co-authored-by: Martin Gross <gross@rami.io>
This commit is contained in:
@@ -33,7 +33,7 @@ def extract_form_fields(soup):
|
||||
continue
|
||||
|
||||
if field['type'] in ('checkbox', 'radio'):
|
||||
if field.has_attr('checked'):
|
||||
if field.has_attr('checked') and field.has_attr('name'):
|
||||
data[field['name']] = field.get('value', 'on')
|
||||
continue
|
||||
elif field.has_attr('name'):
|
||||
|
||||
Reference in New Issue
Block a user