summaryrefslogtreecommitdiff
path: root/templates/mod/inbox.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mod/inbox.html')
-rw-r--r--templates/mod/inbox.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mod/inbox.html b/templates/mod/inbox.html
index 614c1020..63f4de5c 100644
--- a/templates/mod/inbox.html
+++ b/templates/mod/inbox.html
@@ -1,4 +1,4 @@
-{% if messages|default([])|length == 0 %}
+{% if not messages %}
<p style="text-align:center" class="unimportant">({% trans 'No private messages for you.' %})</p>
{% else %}
<table class="modlog">