Skip to content
Snippets Groups Projects
Commit f39081e6 authored by Ryan Kavalsky's avatar Ryan Kavalsky Committed by Owen Bush
Browse files

Issue #3183463 by ryankavalsky, cluke009, owenbush: Unlimited Slots Not Working

parent b4a55e85
No related branches found
No related tags found
No related merge requests found
......@@ -411,7 +411,7 @@ class RegistrantForm extends ContentEntityForm {
$form_state->setRedirect('entity.registrant.add_form', ['eventinstance' => $event_instance->id()]);
if ($registration && $registration_open && ($availability > 0 || $waitlist)) {
if ($registration && $registration_open && ($availability > 0 || $availability == -1 || $waitlist)) {
$add_to_waitlist = (int) $form_state->getValue('add_to_waitlist');
$this->entity->setEventSeries($event_series);
$this->entity->setEventInstance($event_instance);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment