From 41cfd500de2c1728fc186d15d4d6e9b509e76e80 Mon Sep 17 00:00:00 2001 From: Fredrick Brennan Date: Fri, 27 Jul 2018 19:29:58 +0800 Subject: [PATCH] Fix dashboard Countable on non-countable error Only affected PHP7.2, was due to a sloppy template. PHP7.2 is much more strict than previous versions so these kinds of bugs are coming to the fore. --- templates/mod/dashboard.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/mod/dashboard.html b/templates/mod/dashboard.html index d13bf7f2..71669588 100644 --- a/templates/mod/dashboard.html +++ b/templates/mod/dashboard.html @@ -131,7 +131,7 @@ {% endif %} -{% if config.mod.dashboard_links|count %} +{% if config.mod.dashboard_links and config.mod.dashboard_links|count %}
{% trans 'Other' %}