diff --git a/lib/results_validators/events_rounds_validator.rb b/lib/results_validators/events_rounds_validator.rb index 5954a5bffd..0a47257357 100644 --- a/lib/results_validators/events_rounds_validator.rb +++ b/lib/results_validators/events_rounds_validator.rb @@ -49,7 +49,7 @@ def run_validation(validator_data) def check_main_event(competition) if competition.main_event - if competition.main_event_id != "333" + if competition.main_event_id != "333" && competition.events.size > 1 @warnings << ValidationWarning.new(:events, competition.id, NOT_333_MAIN_EVENT_WARNING, main_event_id: competition.main_event_id)