Display all the question answers

This commit is contained in:
Raphael Michel
2015-03-12 23:03:04 +01:00
parent 8c802e534e
commit 1af3bb8328
3 changed files with 7 additions and 7 deletions

View File

@@ -147,7 +147,7 @@ class CheckoutStart(EventViewMixin, CartDisplayMixin, EventLoginRequiredMixin, C
form.cartpos = form.cartpos.clone()
form.cartpos.attendee_name = v
form.cartpos.save()
elif k.startswith('question_'):
elif k.startswith('question_') and v is not None:
field = form.fields[k]
if hasattr(field, 'answer'):
# We already have a cached answer object, so we don't