aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--apioforum/templates/common.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/apioforum/templates/common.html b/apioforum/templates/common.html
index 935972d..20bc00b 100644
--- a/apioforum/templates/common.html
+++ b/apioforum/templates/common.html
@@ -10,7 +10,7 @@
{% set forum = thread_info(post.thread).forum %}
{% endif %}
{% endif %}
-{% if not has_permission(forum, g.user, "p_view_threads") %}
+{% if not has_permission(forum, g.user, "p_view_threads", False) %}
{{ hidden_post("you do not have permission to view this post.", post) }}
{% elif post.deleted %}
{{ hidden_post("this post never existed.", post) }}