Fix display bug for attachments

This commit is contained in:
James Cole 2016-09-20 17:22:07 +02:00
parent 5545d1c1ba
commit 1cfe4f40ba

View File

@ -161,7 +161,7 @@
<td>
<i class="fa {{ att.mime|mimeIcon }}"></i>
<a href="{{ route('attachments.download', att.id) }}" title="{{ att.filename }}">
{% if strlen(att.title) > 0 %}
{% if att.title|length > 0 %}
{{ att.title }}
{% else %}
{{ att.filename }}