bug #1782332 New table form does not overtake data

This commit is contained in:
Marc Delisle
2007-09-13 00:06:29 +00:00
parent 5b5bb08c84
commit 0fb92cac67
2 changed files with 2 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
feature removed due to its complexity feature removed due to its complexity
- bug #1774825 [operations] Rename database loses charset info - bug #1774825 [operations] Rename database loses charset info
- bug #1791568 [core] Undefined cfg, thanks to Christian Schmidt - bug #1791568 [core] Undefined cfg, thanks to Christian Schmidt
- bug #1782332 [structure] New table form does not overtake data
2.11.0.0 (2007-08-21) 2.11.0.0 (2007-08-21)

View File

@@ -254,6 +254,7 @@ if (isset($_REQUEST['do_save_data'])) {
*/ */
// check number of fields to be created // check number of fields to be created
if (isset($_REQUEST['submit_num_fields'])) { if (isset($_REQUEST['submit_num_fields'])) {
$regenerate = true; // for libraries/tbl_properties.inc.php
$num_fields = $_REQUEST['orig_num_fields'] + $_REQUEST['added_fields']; $num_fields = $_REQUEST['orig_num_fields'] + $_REQUEST['added_fields'];
} elseif (isset($_REQUEST['num_fields']) && intval($_REQUEST['num_fields']) > 0) { } elseif (isset($_REQUEST['num_fields']) && intval($_REQUEST['num_fields']) > 0) {
$num_fields = (int) $_REQUEST['num_fields']; $num_fields = (int) $_REQUEST['num_fields'];