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:
parent
be2eafd4fc
commit
41cfd500de
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user