bug with field names like '000'
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$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>
|
2005-01-05 Michal Čihař <michal@cihar.com>
|
||||||
* tbl_properties_operations.php: Fix changning table parameters if it has
|
* tbl_properties_operations.php: Fix changning table parameters if it has
|
||||||
no auto increment (bug #1096246).
|
no auto increment (bug #1096246).
|
||||||
|
@@ -280,14 +280,9 @@ foreach ($loop_array AS $vrowcount => $vrow) {
|
|||||||
|
|
||||||
$field = $row_table_def['Field'];
|
$field = $row_table_def['Field'];
|
||||||
|
|
||||||
// garvin: possible workaround. If current field is numerical, do not try to
|
// removed previous PHP3-workaround that caused a problem with
|
||||||
// access the result-array with its 'associative' key but with its numerical
|
// field names like '000'
|
||||||
// represantation.
|
|
||||||
if (is_numeric($field)) {
|
|
||||||
$rowfield = $i;
|
|
||||||
} else {
|
|
||||||
$rowfield = $field;
|
$rowfield = $field;
|
||||||
}
|
|
||||||
|
|
||||||
// d a t e t i m e
|
// d a t e t i m e
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user