Fixing crash when not debugging questionanires;
parent
5b5b54e139
commit
3b752628ba
|
@ -629,6 +629,7 @@ def show_questionnaire(request, runinfo, errors={}):
|
||||||
else:
|
else:
|
||||||
prev_url = 'javascript:history.back();'
|
prev_url = 'javascript:history.back();'
|
||||||
|
|
||||||
|
current_answers = []
|
||||||
if debug_questionnaire:
|
if debug_questionnaire:
|
||||||
current_answers = Answer.objects.filter(subject=runinfo.subject, runid=runinfo.runid).order_by('id')
|
current_answers = Answer.objects.filter(subject=runinfo.subject, runid=runinfo.runid).order_by('id')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue