From d2bfaa1c0e289855b10ce98807f1178a1ddcfedd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 10 May 2004 13:44:14 +0000 Subject: [PATCH] Fix PMA_DBI_field_name, fixes also bug #951226. --- ChangeLog | 6 +++++- libraries/dbi/mysql.dbi.lib.php | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 75fa372ba..98887452b 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2004-05-10 Michal Čihař + * libraries/dbi/mysql.dbi.lib.php: Fix PMA_DBI_field_name, fixes also bug + #951226. + 2004-05-10 Garvin Hicking * db_details_structure.php, tbl_properties_structure.php: Fixed row-selection Javascript for Internet Explorer. @@ -13,7 +17,7 @@ $Source$ * main.php, css/phpmyadmin.css.php: Corrected
position to XHTML compliance. Introduced "nospace" class. -2004-05-05 Michal Čihař +2004-05-09 Michal Čihař * lang/czech: Updated. * tbl_properties_operations.php: Fixed documentation link. diff --git a/libraries/dbi/mysql.dbi.lib.php b/libraries/dbi/mysql.dbi.lib.php index 20f0fd0d6..89007497c 100644 --- a/libraries/dbi/mysql.dbi.lib.php +++ b/libraries/dbi/mysql.dbi.lib.php @@ -253,7 +253,7 @@ function PMA_DBI_field_len($result, $i) { } function PMA_DBI_field_name($result, $i) { - return mysql_field_name($result, $field_index); + return mysql_field_name($result, $i); } function PMA_DBI_field_flags($result, $i) {