1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-12 01:50:48 +01:00

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.
This commit is contained in:
Fredrick Brennan 2018-07-27 19:29:58 +08:00
parent be2eafd4fc
commit 41cfd500de

View File

@ -131,7 +131,7 @@
</fieldset>
{% endif %}
{% if config.mod.dashboard_links|count %}
{% if config.mod.dashboard_links and config.mod.dashboard_links|count %}
<fieldset>
<legend>{% trans 'Other' %}</legend>