diff --git a/templates/note/view.html.twig b/templates/note/view.html.twig index a7726bb49d..e058f7a3a1 100644 --- a/templates/note/view.html.twig +++ b/templates/note/view.html.twig @@ -21,7 +21,7 @@ {% include '/'~ other.name ~ '/view.html.twig' with {'vars': other.vars} only %} {% endfor %} - {% if hide_attachments is not defined and hide_attachments != true %} + {% if hide_attachments is not defined %}
{% for attachment in note.getAttachments() %} {% include '/attachments/view.html.twig' with {'attachment': attachment} %}