diff --git a/templates/mod/view_ip.html b/templates/mod/view_ip.html index 78fce4a9..6cc0c83f 100644 --- a/templates/mod/view_ip.html +++ b/templates/mod/view_ip.html @@ -1,4 +1,4 @@ -{% if mod|hasPermission(config.mod.view_notes) %} +{% if mod|hasPermission(config.mod.view_notes) and notes is not null %}
{% endif %} -{% for board_posts in posts %} - -{% endfor %} +{{ include('mod/user_posts_list.html', {posts: posts}) }}