From bf7304622a51e9106a438e4fd59816c3816bd557 Mon Sep 17 00:00:00 2001 From: Jason Lam <3edgy6u@gmail.com> Date: Wed, 7 May 2014 18:37:48 -0400 Subject: [PATCH] Update poster_id.html previous code did not work --- templates/post/poster_id.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/post/poster_id.html b/templates/post/poster_id.html index 3f168003..63cdf562 100644 --- a/templates/post/poster_id.html +++ b/templates/post/poster_id.html @@ -1,3 +1,7 @@ {% if config.poster_ids %} - ID: {{ post.ip|poster_id(post.id) }} + {% if post.thread %} + ID: {{ post.ip|poster_id(post.thread) }} + {% else %} + ID: {{ post.ip|poster_id(post.id) }} + {% endif %} {% endif %}