improved fix against bug #542524 (Wrong interval is displayed)
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user