diff --git a/ChangeLog b/ChangeLog
index ecc11c2df9..ff27ea20df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,7 @@ phpMyAdmin - ChangeLog
- bug #4867 Incorrect ALTER TABLE statement generated
- bug #4870 Inconsistency in 'Ignore' checkbox in insert page
- bug #4869 Drop column action not asking to confirm
+- bug #4871 Error on creating table
4.4.3.0 (2015-04-20)
- bug #4851 PHP errors in login dialogue
diff --git a/libraries/tbl_columns_definition_form.lib.php b/libraries/tbl_columns_definition_form.lib.php
index a1d4a5e961..ce49a0ef47 100644
--- a/libraries/tbl_columns_definition_form.lib.php
+++ b/libraries/tbl_columns_definition_form.lib.php
@@ -237,6 +237,30 @@ function PMA_getHtmlForTableFieldDefinitions($header_cells, $content_cells)
return $html;
}
+/**
+ * Function to get html for the hidden fields containing index creation info
+ *
+ * @param string $index_type the index type
+ *
+ * @return string
+ */
+function PMA_getHtmlForHiddenIndexInfo($index_type)
+{
+ $html = '';
+
+ return $html;
+}
+
/**
* Function to get html for the create table or field add view
*
@@ -254,10 +278,11 @@ function PMA_getHtmlForTableCreateOrAddField($action, $form_params, $content_cel
. ($action == 'tbl_create.php' ? 'create_table' : 'append_fields')
. '_form ajax lock-page">';
$html .= PMA_URL_getHiddenInputs($form_params);
- $html .= '';
- $html .= '';
- $html .= '';
- $html .= '';
+
+ $html .= PMA_getHtmlForHiddenIndexInfo('primary_indexes');
+ $html .= PMA_getHtmlForHiddenIndexInfo('unique_indexes');
+ $html .= PMA_getHtmlForHiddenIndexInfo('indexes');
+ $html .= PMA_getHtmlForHiddenIndexInfo('fulltext_indexes');
if ($action == 'tbl_create.php') {
$html .= PMA_getHtmlForTableNameAndNoOfColumns();