bug #1782332 New table form does not overtake data
This commit is contained in:
@@ -19,6 +19,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
||||
feature removed due to its complexity
|
||||
- bug #1774825 [operations] Rename database loses charset info
|
||||
- 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)
|
||||
|
||||
|
@@ -254,6 +254,7 @@ if (isset($_REQUEST['do_save_data'])) {
|
||||
*/
|
||||
// check number of fields to be created
|
||||
if (isset($_REQUEST['submit_num_fields'])) {
|
||||
$regenerate = true; // for libraries/tbl_properties.inc.php
|
||||
$num_fields = $_REQUEST['orig_num_fields'] + $_REQUEST['added_fields'];
|
||||
} elseif (isset($_REQUEST['num_fields']) && intval($_REQUEST['num_fields']) > 0) {
|
||||
$num_fields = (int) $_REQUEST['num_fields'];
|
||||
|
Reference in New Issue
Block a user