summaryrefslogtreecommitdiff
path: root/ishtar_common/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-04-01 19:06:35 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-04-01 19:06:35 +0200
commit71672e712570bf33b55cb534e2776ef8a1251755 (patch)
tree9c277f0f6fdd5ae6a42b0f7201c96c75ca0f7bdf /ishtar_common/wizards.py
parent08ad687cf6ca9f4aa9aff625370df24a6a94dea6 (diff)
downloadIshtar-71672e712570bf33b55cb534e2776ef8a1251755.tar.bz2
Ishtar-71672e712570bf33b55cb534e2776ef8a1251755.zip
Operation wizard: an operation cannot be related to herself (refs #3578)
Diffstat (limited to 'ishtar_common/wizards.py')
-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 ddb2bc2ac..61923d920 100644
--- a/ishtar_common/wizards.py
+++ b/ishtar_common/wizards.py
@@ -819,7 +819,7 @@ class Wizard(NamedUrlWizardView):
# get a form key
frm = form.form
if callable(frm):
- frm = frm()
+ frm = frm(self.get_form_kwargs(step))
total_field = 0
if hasattr(frm, 'count_valid_fields'):