mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-10-31 07:49:57 +01:00 
			
		
		
		
	Bugfix
This commit is contained in:
		| @@ -300,10 +300,13 @@ class FutureUserDetailView(ProtectQuerysetMixin, LoginRequiredMixin, FormMixin, | ||||
| #            join_bde = True | ||||
| #            join_kfet = True | ||||
|  | ||||
|         if not join_bde or any(b for _, b in join_clubs): | ||||
|         if not (join_bde or any(b for _, b in join_clubs)): | ||||
|             # This software belongs to the BDE. | ||||
|             form.add_error('join_bde', _("You must join the BDE.")) | ||||
|             form.add_error('join_bde', _("You must join a club.")) | ||||
|             return super().form_invalid(form) | ||||
|          | ||||
|         if join_kfet and not join_bde: | ||||
|             forl.add_error('join_bde', _("You must also join the parent club BDE.")) | ||||
|  | ||||
|         # Calculate required registration fee | ||||
|         fee = 0 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user