From e6c9c807038834d6eb673acfa7d12bcd968e2de8 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 5 Jul 2017 22:27:45 +0200 Subject: Wizard: fix non valid wizards --- ishtar_common/wizards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common') diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index a0b17dace..a98b14f8e 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -368,7 +368,7 @@ class Wizard(NamedUrlWizardView): if hasattr(base_form, 'associated_labels') \ and key in base_form.associated_labels: lbl = base_form.associated_labels[key] - if not lbl: + if not lbl or key not in cleaned_data: continue value = cleaned_data[key] if value is None or value == '': -- cgit v1.2.3