diff --git a/tbl_operations.php b/tbl_operations.php index dc63e23f9..1c0c0382a 100644 --- a/tbl_operations.php +++ b/tbl_operations.php @@ -432,13 +432,15 @@ $possible_row_formats = array( // does not return a warning // (if the table was compressed, it can be seen on the Structure page) -$current_row_format = strtoupper($showtable['Row_format']); -echo ''; -echo ''; -PMA_generate_html_dropdown('new_row_format', $possible_row_formats[$tbl_type], $current_row_format); -unset($possible_row_formats, $current_row_format); -echo ''; -echo ''; +if (isset($possible_row_formats[$tbl_type])) { + $current_row_format = strtoupper($showtable['Row_format']); + echo ''; + echo ''; + PMA_generate_html_dropdown('new_row_format', $possible_row_formats[$tbl_type], $current_row_format); + unset($possible_row_formats, $current_row_format); + echo ''; + echo ''; +} ?>