"Show all" does not work

This commit is contained in:
Marc Delisle
2007-06-15 18:31:58 +00:00
parent 4211a4b233
commit f25e786f7d

View File

@@ -1688,7 +1688,7 @@ function PMA_displayTable_checkConfigParams()
$_SESSION['userconf']['query'][$sql_key]['repeat_cells'] = $GLOBALS['cfg']['RepeatCells'];
}
if (PMA_isValid($_REQUEST['session_max_rows'], 'numeric')) {
if (PMA_isValid($_REQUEST['session_max_rows'], 'numeric') || $_REQUEST['session_max_rows'] == 'all') {
$_SESSION['userconf']['query'][$sql_key]['max_rows'] = $_REQUEST['session_max_rows'];
unset($_REQUEST['session_max_rows']);
} elseif (empty($_SESSION['userconf']['query'][$sql_key]['max_rows'])) {