diff options
-rw-r--r-- | system/admin/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go index c505914..765ea6f 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -971,7 +971,7 @@ func postsHandler(res http.ResponseWriter, req *http.Request) { start := 1 + count*offset end := start + count - 1 if total < count { - total = count + count = total } pagination := fmt.Sprintf(` |