summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hyperkitty/templates/messages/message.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html
index 23fa458..5987de0 100644
--- a/hyperkitty/templates/messages/message.html
+++ b/hyperkitty/templates/messages/message.html
@@ -31,9 +31,9 @@
{% if email.user_id %}
<a href="{% url 'public_user_profile' user_id=email.user_id %}"
title="See {{ email.sender_name|escapeemail|escape }}'s profile"
- >{{email.sender_name|escapeemail}}</a>
+ >{{email.sender_name|default:"(no name)"|escapeemail}}</a>
{% else %}
- {{email.sender_name|escapeemail}}
+ {{email.sender_name|default:"(no name)"|escapeemail}}
{% endif %}
</span>
<br />