From f3b892c9601cbdb2c2479f07ae0cda1f12b24439 Mon Sep 17 00:00:00 2001 From: Trevor Slocum Date: Mon, 26 Apr 2021 08:36:59 -0700 Subject: [PATCH] Fix modlog navigation Resolves #207. --- inc/html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/html.php b/inc/html.php index 29b6c98..841cfb4 100644 --- a/inc/html.php +++ b/inc/html.php @@ -913,10 +913,10 @@ function manageModerationLog($offset) { $txt_moderation_log = __('Moderation log'); $nav = ''; if ($offset > 0) { - $nav .= 'Previous 50 '; + $nav .= 'Previous ' . $limit . ' '; } if (count($logs) == $limit) { - $nav .= 'Next 50 '; + $nav .= 'Next ' . $limit . ' '; } $nav_top = ''; $nav_bottom = '';