Skip to content

Support selection of 0th item for discount codes

Andy Dirnberger requested to merge support-selection-of-0th-item into master

We use integers as the keys for the events and so the choice entered is cast to an integer. This prevented users from selecting choice 0 as it would fail the while not answer check. Explicitly checking for None instead fixes this and allows for the selection of all choices.

Merge request reports