diff --git a/templates/post_thread.html b/templates/post_thread.html
index 6ec45482..cbd37229 100644
--- a/templates/post_thread.html
+++ b/templates/post_thread.html
@@ -113,7 +113,7 @@
{% endif %}
{% endif %}
- {% if post.bumplocked and (config.mod.view_bumplock < 0 or (post.mod and post.mod|hasPermission(config.mod.view_bump$
+ {% if post.bumplocked and (config.mod.view_bumplock < 0 or (post.mod and post.mod|hasPermission(config.mod.view_bumplock, board.uri))) %}
{% if config.font_awesome %}
{% else %}