Skip to content

Commit b852887

Browse files
Limit number reflects not the right amount fixed and close #102
1 parent 09abba2 commit b852887

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controllers/EventRegistrationController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ private void CreateNewEventRegistration(Event e, XDocument data, User user, stri
675675
int countRegs = erManager.GetNumerOfRegistrationsByEvent(e.Id) + 1;
676676
int countWaitingList = erManager.GetAllWaitingListRegsByEvent(e.Id).Count + 1;
677677

678-
if (countRegs >= e.ParticipantsLimitation)
678+
if (countRegs > e.ParticipantsLimitation)
679679
{
680680
if(e.WaitingList && !e.Closed)
681681
{

0 commit comments

Comments
 (0)