Skip to content

Commit

Permalink
Merge pull request #4380 from magfest/badge_nums_stock
Browse files Browse the repository at this point in the history
Only requiring badge numbers if they are enabled
  • Loading branch information
bitbyt3r committed Jun 6, 2024
2 parents 494e487 + 50f738e commit a04f4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uber/forms/attendee.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ class CheckInForm(MagForm):
badge_type = HiddenIntField('Badge Type')
badge_num = StringField('Badge Number', id="checkin_badge_num", default='', validators=[
validators.DataRequired('Badge number is required.'),
])
] if c.NUMBERED_BADGES else [])
badge_printed_name = PersonalInfo.badge_printed_name
got_merch = AdminBadgeExtras.got_merch
got_staff_merch = AdminStaffingInfo.got_staff_merch
Expand Down

0 comments on commit a04f4a5

Please sign in to comment.