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 {