diff options
author | Chanaka Indrajith <pe.chanaka.ck@gmail.com> | 2012-05-11 14:36:42 +0400 |
---|---|---|
committer | Chanaka Indrajith <pe.chanaka.ck@gmail.com> | 2012-05-11 14:36:42 +0400 |
commit | 5a4432a232d7e5559184a00fa50c7a59b4a439d5 (patch) | |
tree | c2d3e9c68263a13c264705f2d3c2943ffeeae1ab /tbl_addfield.php | |
parent | bf15800089d11e83dc7998e5064dafcf2280c118 (diff) | |
parent | ef40e9e076f4d7095383e30c48799e0588bc5898 (diff) |
Merge remote branch 'upstream/master'
Diffstat (limited to 'tbl_addfield.php')
-rw-r--r-- | tbl_addfield.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tbl_addfield.php b/tbl_addfield.php index c84eff11fa..4d24a49469 100644 --- a/tbl_addfield.php +++ b/tbl_addfield.php @@ -81,6 +81,7 @@ if (isset($_REQUEST['do_save_data'])) { $definition = ' ADD ' . PMA_Table::generateFieldSpec( $_REQUEST['field_name'][$i], $_REQUEST['field_type'][$i], + $i, $_REQUEST['field_length'][$i], $_REQUEST['field_attribute'][$i], isset($_REQUEST['field_collation'][$i]) @@ -97,8 +98,7 @@ if (isset($_REQUEST['do_save_data'])) { isset($_REQUEST['field_comments'][$i]) ? $_REQUEST['field_comments'][$i] : '', - $field_primary, - $i + $field_primary ); if ($_REQUEST['field_where'] != 'last') { |