From 8dfdc5e33514443e463b1accc1053dc986def4d4 Mon Sep 17 00:00:00 2001 From: Benjamin Southall Date: Sat, 10 Aug 2019 12:01:07 +1000 Subject: Based on #157 and #158, revert back to existence checks and length rather than default empty array initialization for ease of reading --- templates/mod/user.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/mod/user.html') diff --git a/templates/mod/user.html b/templates/mod/user.html index d72ac535..6cc454d8 100644 --- a/templates/mod/user.html +++ b/templates/mod/user.html @@ -87,7 +87,7 @@ -{% if logs|default([])|length > 0 %} +{% if logs and logslength > 0 %} -- cgit v1.3
{% trans 'IP address' %}