summaryrefslogtreecommitdiff
path: root/ishtar_common
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
commit25bfdf136bd2bd7658878d25e337b02b8150915d (patch)
tree9c277f0f6fdd5ae6a42b0f7201c96c75ca0f7bdf /ishtar_common
parent59847d040c37d77ebd9c731f9a4587665e906feb (diff)
downloadIshtar-25bfdf136bd2bd7658878d25e337b02b8150915d.tar.bz2
Ishtar-25bfdf136bd2bd7658878d25e337b02b8150915d.zip
Operation wizard: an operation cannot be related to herself (refs #3578)
Diffstat (limited to 'ishtar_common')
-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'):