bug 1941020 undefined index

This commit is contained in:
Marc Delisle
2008-04-14 13:19:09 +00:00
parent 4469b64e4e
commit f11915a86c

View File

@@ -432,6 +432,7 @@ $possible_row_formats = array(
// does not return a warning // does not return a warning
// (if the table was compressed, it can be seen on the Structure page) // (if the table was compressed, it can be seen on the Structure page)
if (isset($possible_row_formats[$tbl_type])) {
$current_row_format = strtoupper($showtable['Row_format']); $current_row_format = strtoupper($showtable['Row_format']);
echo '<tr><td><label for="new_row_format">ROW_FORMAT</label></td>'; echo '<tr><td><label for="new_row_format">ROW_FORMAT</label></td>';
echo '<td>'; echo '<td>';
@@ -439,6 +440,7 @@ PMA_generate_html_dropdown('new_row_format', $possible_row_formats[$tbl_type], $
unset($possible_row_formats, $current_row_format); unset($possible_row_formats, $current_row_format);
echo '</td>'; echo '</td>';
echo '</tr>'; echo '</tr>';
}
?> ?>
</table> </table>
</fieldset> </fieldset>