summaryrefslogtreecommitdiff
path: root/templates/mod/noticeboard.html
diff options
context:
space:
mode:
authorAppleman1234 <applemansigloo@gmail.com>2022-09-25 13:22:40 +1000
committerAppleman1234 <applemansigloo@gmail.com>2022-09-25 13:22:40 +1000
commit92561d7f36508b7e0271926e417adf0e2e53916b (patch)
treea8588b4f70af276c5acf58836e33b1f6ff5c61e8 /templates/mod/noticeboard.html
parent6f1083e4b51fc9c4c594f6c72cf3d84ef4d0298b (diff)
Initial attempt a switch to composer and PHP-8.1 compatibility
Diffstat (limited to 'templates/mod/noticeboard.html')
-rw-r--r--templates/mod/noticeboard.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mod/noticeboard.html b/templates/mod/noticeboard.html
index fc2e0aef..1036b129 100644
--- a/templates/mod/noticeboard.html
+++ b/templates/mod/noticeboard.html
@@ -57,7 +57,7 @@
</div>
{% endfor %}
-{% if count > noticeboard|count %}
+{% if count > noticeboard|length %}
<p class="unimportant" style="text-align:center;word-wrap:break-word">
{% for i in range(0, (count - 1) / config.mod.noticeboard_page) %}
<a href="?/noticeboard/{{ i + 1 }}">[{{ i + 1 }}]</a>