summaryrefslogtreecommitdiff
path: root/templates/mod/log.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mod/log.html')
-rw-r--r--templates/mod/log.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mod/log.html b/templates/mod/log.html
index 19924b1d..9b0979cb 100644
--- a/templates/mod/log.html
+++ b/templates/mod/log.html
@@ -33,7 +33,7 @@
{% if count > logs|count %}
<p class="unimportant" style="text-align:center;word-wrap:break-word">
- {% for i in range(0, count / config.mod.modlog_page) %}
+ {% for i in range(0, (count - 1) / config.mod.modlog_page) %}
<a href="?/log/{{ i + 1 }}">[{{ i + 1 }}]</a>
{% endfor %}
</p>