This repository was archived by the owner on May 23, 2025. It is now read-only.

Description
|
// TODO: refactor this logic into better permission/state checks |
|
if (array_key_exists('approvalnr', $data) && $competitionState->id > CompetitionState::STATE_ENROLLMENT) { |
|
unset($data['approvalnr']); |
|
} |
|
|
|
$validator = $this->validatorFactory->newWineValidator($wine, $data); |
This issue was generated by todo based on a TODO comment in fcd121e when #199 was merged. cc @ChristophWurst.