moved related stuff together

This commit is contained in:
Spun Nakandala 2013-08-11 21:44:22 +05:30
parent 0dbbe1d360
commit 6bf2ee2192

View File

@ -114,14 +114,15 @@ for ($columnNumber = 0; $columnNumber < $num_fields; $columnNumber++) {
if ($tmp) {
$type = substr($type, 0, $tmp - 1);
}
// rtrim the type, for cases like "float unsigned"
$type = rtrim($type);
if (isset($submit_length) && $submit_length != false) {
$length = $submit_length;
}
// rtrim the type, for cases like "float unsigned"
$type = rtrim($type);
// old column attributes
if ($is_backup) {
$_form_params = PMA_getFormParamsForOldColumn(