summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-07-05 22:27:45 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-07-05 22:27:45 +0200
commite6c9c807038834d6eb673acfa7d12bcd968e2de8 (patch)
tree1e87c32ac419a0467aa4123b3793902c715f0314
parent923b2533d62454f89b409628ab0203c3641e30ed (diff)
downloadIshtar-e6c9c807038834d6eb673acfa7d12bcd968e2de8.tar.bz2
Ishtar-e6c9c807038834d6eb673acfa7d12bcd968e2de8.zip
Wizard: fix non valid wizards
-rw-r--r--ishtar_common/wizards.py2
1 files changed, 1 insertions, 1 deletions
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 == '':