diff --git a/libraries/tbl_properties.inc.php b/libraries/tbl_properties.inc.php index 58ce8c425..f5b2ec440 100644 --- a/libraries/tbl_properties.inc.php +++ b/libraries/tbl_properties.inc.php @@ -234,9 +234,11 @@ for ($i = 0 ; $i <= $num_fields; $i++) { $row = $fields_meta[$i]; } - $type_and_length = PMA_extract_type_length($row['Type']); - if ($type_and_length['type'] == 'bit') { - $row['Default'] = PMA_printable_bit_value($row['Default'], $type_and_length['length']); + if (isset($row) && isset($row['Type'])) { + $type_and_length = PMA_extract_type_length($row['Type']); + if ($type_and_length['type'] == 'bit') { + $row['Default'] = PMA_printable_bit_value($row['Default'], $type_and_length['length']); + } } // Cell index: If certain fields get left out, the counter shouldn't chage.