Commit c9ab8958 authored by Michal Čihař's avatar Michal Čihař

Define missing variable

parent 6ee76e6f
......@@ -1107,6 +1107,7 @@ def translate(request, project, subproject, lang):
units = allunits.filter(position__gt = pos)
elif 'checksum' in request.GET:
allunits = obj.unit_set.filter(checksum = request.GET['checksum'])
units = allunits
else:
allunits = obj.unit_set.filter_type(rqtype, obj)
# What unit set is about to show
......
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