undefined variable row on table creation, since the new logic for BIT values
This commit is contained in:
@@ -234,9 +234,11 @@ for ($i = 0 ; $i <= $num_fields; $i++) {
|
|||||||
$row = $fields_meta[$i];
|
$row = $fields_meta[$i];
|
||||||
}
|
}
|
||||||
|
|
||||||
$type_and_length = PMA_extract_type_length($row['Type']);
|
if (isset($row) && isset($row['Type'])) {
|
||||||
if ($type_and_length['type'] == 'bit') {
|
$type_and_length = PMA_extract_type_length($row['Type']);
|
||||||
$row['Default'] = PMA_printable_bit_value($row['Default'], $type_and_length['length']);
|
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.
|
// Cell index: If certain fields get left out, the counter shouldn't chage.
|
||||||
|
Reference in New Issue
Block a user