Order list: Prevent type error on empty result set

This commit is contained in:
Raphael Michel
2019-03-08 13:53:18 +01:00
parent 7ef4adeb73
commit 4e3dd24209

View File

@@ -160,7 +160,9 @@
{% endblocktrans %}
</th>
<th class="text-right">
{{ sums.s|money:request.event.currency }}
{% if sums.s|default_if_none:"none" != "none" %}
{{ sums.s|money:request.event.currency }}
{% endif %}
</th>
<th class="text-right">
{% if sums.pc %}