undefined variable row on table creation, since the new logic for BIT values
This commit is contained in:
@@ -234,10 +234,12 @@ for ($i = 0 ; $i <= $num_fields; $i++) {
|
||||
$row = $fields_meta[$i];
|
||||
}
|
||||
|
||||
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.
|
||||
$ci = 0;
|
||||
|
Reference in New Issue
Block a user