From 6cdb219a2c18e8b98eced69980d9bb2c0c343064 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 13 Sep 2007 00:06:29 +0000 Subject: [PATCH] bug #1782332 New table form does not overtake data --- ChangeLog | 1 + tbl_create.php | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index df4efaae9..02bf93f07 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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) diff --git a/tbl_create.php b/tbl_create.php index cd49bd46b..44e950eab 100644 --- a/tbl_create.php +++ b/tbl_create.php @@ -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'];