Skip to content
Browse files

bug #4186 Adding a column when creating a table does not propagate in…

…dex info

Signed-off-by: Marc Delisle <marc@infomarc.info>
  • Loading branch information...
1 parent f18e061 commit cc58ebe7d1ba52fd42f8cbe66df5a407aee5cf86 @lem9 lem9 committed Dec 15, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −0 ChangeLog
  2. +1 −1 libraries/tbl_columns_definition_form.lib.php
View
1 ChangeLog
@@ -9,6 +9,7 @@ phpMyAdmin - ChangeLog
- bug #4181 Adding columns in table creation clears existing columns
- bug #4023 Requires wildcard EXECUTE/ALTER ROUTINE on DB to allow
Procedures to be executed by user
+- bug #4186 Adding a column when creating a table does not propagate index info
4.1.0.0 (2013-12-11)
+ rfe #499 On user creation, warn if the user already exists
View
2 libraries/tbl_columns_definition_form.lib.php
@@ -378,7 +378,7 @@ function PMA_getRowDataForRegeneration($columnNumber, $submit_fulltext)
$columnMeta['Key'] = '';
if (isset($_REQUEST['field_key'][$columnNumber])) {
- $parts = explode($_REQUEST['field_key'][$columnNumber], '_', 2);
+ $parts = explode('_', $_REQUEST['field_key'][$columnNumber], 2);
if (count($parts) == 2 && $parts[1] == $columnNumber) {
switch ($parts[0]) {
case 'primary':

0 comments on commit cc58ebe

Please sign in to comment.
Something went wrong with that request. Please try again.