From 85cb2368cca378b1ce068099159b367c24fff8c0 Mon Sep 17 00:00:00 2001 From: Oliver Zander Date: Tue, 11 Nov 2025 09:47:51 +0100 Subject: [PATCH] fixed validation --- input/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/forms.py b/input/forms.py index 362a3d3..0ab4f84 100755 --- a/input/forms.py +++ b/input/forms.py @@ -295,7 +295,7 @@ class LiteratureForm(TermsForm): return cleaned_data for field in 'selfbuy_data', 'selfbuy_give_data': - if not cleaned_data.get('selfbuy_data'): + if not cleaned_data.get(field): self.add_error(field, trans('This field is required.')) return cleaned_data