Language: JavaScript. The pull request has one bug. You get three tries to find the line, then a short debrief.
Organisers can now cap how many tickets an event sells. The field is optional: as the label says, leaving it empty means "no limit". The value is checked to be a number before the event is saved.
Codetrap needs JavaScript: the code review happens in your browser.