Commit 5fb4d90b authored by Evan Simpson's avatar Evan Simpson

Omit arguments with blank values in test form

parent 1b9e1acb
......@@ -122,7 +122,8 @@ class Script(SimpleItem, BindingsUI):
"""
vv = []
for argvar in argvars:
vv.append("%s=%s" % (quote(argvar.name), quote(argvar.value)))
if argvar.value:
vv.append("%s=%s" % (quote(argvar.name), quote(argvar.value)))
raise "Redirect", "%s?%s" % (REQUEST['URL1'], join(vv, '&'))
from Signature import _setFuncSignature
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment