From 4050a2f730fb331f3097fe145e0be25de5d6ed1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Wed, 17 Apr 2002 19:58:56 +0000 Subject: [PATCH] improved fix against bug #542524 (Wrong interval is displayed) --- libraries/display_tbl.lib.php3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/display_tbl.lib.php3 b/libraries/display_tbl.lib.php3 index 4a78cf3b2..dea9a604b 100644 --- a/libraries/display_tbl.lib.php3 +++ b/libraries/display_tbl.lib.php3 @@ -1288,7 +1288,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){ $selectstring = ''; } $last_shown_rec = ($GLOBALS['session_max_rows'] == 'all' || $pos_next > $total) - ? $total + ? $total - 1 : $pos_next - 1; PMA_showMessage($GLOBALS['strShowingRecords'] . " $pos - $last_shown_rec ($total " . $GLOBALS['strTotal'] . $selectstring . ')'); } else {