summaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates/view_thread.html
diff options
context:
space:
mode:
Diffstat (limited to 'apioforum/templates/view_thread.html')
-rw-r--r--apioforum/templates/view_thread.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/apioforum/templates/view_thread.html b/apioforum/templates/view_thread.html
index 06c110b..6859e07 100644
--- a/apioforum/templates/view_thread.html
+++ b/apioforum/templates/view_thread.html
@@ -36,7 +36,7 @@
{% for post in posts %}
{% if post.vote %}
- {% set vote = votes[post.id] %}
+ {% set vote = post.vote %}
{% set option_idx = vote.option_idx %}
{# this is bad but it's going to get refactored anyway #}