Fix display bug for attachments

This commit is contained in:
James Cole
2016-09-20 17:21:26 +02:00
parent e5f7228fa9
commit 5545d1c1ba
2 changed files with 5 additions and 5 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 %}
{% if strlen(att.title) > 0 %}
{{ att.title }}
{% else %}
{{ att.filename }}