Details
Description
If you place a participant onto waiting list the event shows as full for online registrations, ignoring the max participants vaalue.
This is due to the call to eventFull method within \CRM\Event\Form\Registration.php not setting the waiting list flag. It should be setting the waiting list check in accordance to the setting for the event
Around line 91 should change from
$eventFull = CRM_Event_BAO_Participant::eventFull( $this->_eventId );
to
$eventFull = CRM_Event_BAO_Participant::eventFull( $this->_eventId, false, CRM_Utils_Array::value( 'has_waitlist', $this->_values['event'] ) );