Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2020-11-09 14:50:24 +01:00
parent cdd5fec615
commit 9066466349

View File

@@ -3498,7 +3498,7 @@ def virtualevent_entry_edit_view(request,id=0,entryid=0):
if boattype != record.boattype:
messages.error(request,'You cannot change boat type to a different one ')
return HttpResponseRedirect(returnurl)
if boatclass != record.workouttype:
if boatclass != record.boatclass:
messages.error(request,'You cannot change the class to a different one ')
return HttpResponseRedirect(returnurl)
if weightcategory != record.weightcategory: