Commits

Dan Watson committed 0f24667

Keep reply_to on errors

Comments (0)

Files changed (1)

 			comment_form = CommentForm(leaf=leaf, author_user=request.user, status=status)
 	template_name = '%s/%s.html' % (leaf._meta.app_label, leaf._meta.module_name)
 	try:
-		reply_to = leaf.comments.get(pk=request.GET['reply_to'])
+		reply_to = leaf.comments.get(pk=request.REQUEST['reply_to'])
 	except:
 		reply_to = None
 	return TemplateResponse(request, (leaf.page_template, template_name, 'leaf.html'), {