Commit ababcd06 authored by Ryan Herbert's avatar Ryan Herbert
Browse files

file.py fix undefined variable

The add_form controller had a reference to the wrong variable
parent 12061e0d
......@@ -199,7 +199,7 @@ def add_form():
try:
generic_id = extract_id(request.vars['generic_id'], error)
if not auth.can_modify('generic', generic_id) :
error += " missing permissions for sample_set %d" % sample_set_id
error += " missing permissions for sample_set %d" % generic_id
except ValueError:
error += " invalid sample_set %s" % request.vars['sample_set_id']
pre_process = None
......
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