Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChanaka Indrajith <pe.chanaka.ck@gmail.com>2012-05-11 14:36:42 +0400
committerChanaka Indrajith <pe.chanaka.ck@gmail.com>2012-05-11 14:36:42 +0400
commit5a4432a232d7e5559184a00fa50c7a59b4a439d5 (patch)
treec2d3e9c68263a13c264705f2d3c2943ffeeae1ab /tbl_addfield.php
parentbf15800089d11e83dc7998e5064dafcf2280c118 (diff)
parentef40e9e076f4d7095383e30c48799e0588bc5898 (diff)
Merge remote branch 'upstream/master'
Diffstat (limited to 'tbl_addfield.php')
-rw-r--r--tbl_addfield.php4
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') {