diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2015-01-28 09:20:21 +0300 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2015-01-28 09:20:21 +0300 |
commit | 05c5ba753cd9f67019aa3f3ad125cc6be4296550 (patch) | |
tree | 5c10e1e4c6170a2585ff421c10f23c219fe88fd2 /tbl_indexes.php | |
parent | e15bcf8944433090e2ffc61f4b8fd20e5a1bfa6c (diff) |
Distinguish between index type and index choice
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'tbl_indexes.php')
-rw-r--r-- | tbl_indexes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tbl_indexes.php b/tbl_indexes.php index 52d0348a78..f083edad71 100644 --- a/tbl_indexes.php +++ b/tbl_indexes.php @@ -42,7 +42,7 @@ $form_params = PMA_getFormParameters($db, $table); if (isset($_REQUEST['create_edit_table'])) { $fields = json_decode($_REQUEST['columns'], true); $index_params = array( - 'Non_unique' => ($_REQUEST['index']['Index_type'] == 'UNIQUE') ? '0' : '1' + 'Non_unique' => ($_REQUEST['index']['Index_choice'] == 'UNIQUE') ? '0' : '1' ); $index->set($index_params); $add_fields = count($fields); |