bug with field names like '000'

This commit is contained in:
Marc Delisle
2005-01-06 15:56:53 +00:00
parent 7b5580a29d
commit 4de30d4066
2 changed files with 7 additions and 8 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2005-01-06 Marc Delisle <lem9@users.sourceforge.net>
* tbl_change.php: removed old PHP3-workaround that caused problems
with field names like '000'
2005-01-05 Michal Čihař <michal@cihar.com>
* tbl_properties_operations.php: Fix changning table parameters if it has
no auto increment (bug #1096246).

View File

@@ -280,14 +280,9 @@ foreach ($loop_array AS $vrowcount => $vrow) {
$field = $row_table_def['Field'];
// garvin: possible workaround. If current field is numerical, do not try to
// access the result-array with its 'associative' key but with its numerical
// represantation.
if (is_numeric($field)) {
$rowfield = $i;
} else {
$rowfield = $field;
}
// removed previous PHP3-workaround that caused a problem with
// field names like '000'
$rowfield = $field;
// d a t e t i m e
//