From 92561d7f36508b7e0271926e417adf0e2e53916b Mon Sep 17 00:00:00 2001 From: Appleman1234 Date: Sun, 25 Sep 2022 13:22:40 +1000 Subject: Initial attempt a switch to composer and PHP-8.1 compatibility --- templates/mod/recent_posts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/mod/recent_posts.html') diff --git a/templates/mod/recent_posts.html b/templates/mod/recent_posts.html index 349dcea9..c226eebd 100644 --- a/templates/mod/recent_posts.html +++ b/templates/mod/recent_posts.html @@ -1,5 +1,5 @@ -{% if not posts|count %} +{% if not posts|length %}

({% trans 'There are no active posts.' %})

{% else %}

Viewing last {{ limit|e }} posts

-- cgit v1.3