X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/fd1a9915dd65789cccf27041a1f01cd4077273fc..21de3884f82ce6c9b2d538d8d63c41cf68c9bae7:/src/club/forms.py diff --git a/src/club/forms.py b/src/club/forms.py index f91985539..2347e2a61 100644 --- a/src/club/forms.py +++ b/src/club/forms.py @@ -143,7 +143,7 @@ class DonationStep1Form(forms.ModelForm): state['amount'] = \ self.cleaned_data[f'{which}_amount'] or \ self.cleaned_data['custom_amount'] or \ - self.cleaned_data[f'{monthly}_amount_selected'] + self.cleaned_data[f'{which}_amount_selected'] return state