Fix display bug for attachments

This commit is contained in:
James Cole
2016-09-20 17:23:12 +02:00
parent 1cfe4f40ba
commit e169754693
2 changed files with 6 additions and 6 deletions

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 att.title|length > 0 %}
{% if att.title %}
{{ att.title }}
{% else %}
{{ att.filename }}