diff --git a/system/templates/forum.show_thread.html.twig b/system/templates/forum.show_thread.html.twig
index f2c15959..1255dac4 100644
--- a/system/templates/forum.show_thread.html.twig
+++ b/system/templates/forum.show_thread.html.twig
@@ -58,6 +58,7 @@ Page: {{ links_to_pages|raw }}
{% endif %}
+ {% endif %}
{% if logged and (post.player.getAccount().getId() == account_logged.getId() or is_moderator) %}
@@ -65,11 +66,10 @@ Page: {{ links_to_pages|raw }}
{% if logged %}
{% endif %}
- {% endif %}
{% set i = i + 1 %}
{% endfor %}
-
\ No newline at end of file
+