backported bug #2879909 to QA_3_2

This commit is contained in:
Herman van Rink
2009-10-16 07:34:51 +00:00
parent 164c605a64
commit 0e56d08502
2 changed files with 2 additions and 2 deletions

View File

@@ -349,13 +349,12 @@ for ($i = 0; $i < $num_fields; $i++) {
$binary = 0;
$unsigned = 0;
$zerofill = 0;
$length_to_display = htmlspecialchars($length);
} else {
$length_to_display = $length;
$binary = false;
$unsigned = stristr($row['Type'], 'unsigned');
$zerofill = stristr($row['Type'], 'zerofill');
}
$length_to_display = $length;
$content_cells[$i][$ci] = '<input id="field_' . $i . '_' . ($ci - $ci_offset) . '"'
. ' type="text" name="field_length[' . $i . ']" size="' . $length_values_input_size . '"'