From 142154b4a8d22128574af3d8ba520705eedb57dd Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 6 Oct 2007 20:03:52 +0000 Subject: [PATCH] undefined variable when creating a table that exists --- ChangeLog | 1 + libraries/database_interface.lib.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5a7d8e698..386a3457d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -21,6 +21,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA thanks to Alex Rambau - bug #1798786 [import] Wrong error message when a string contains semicolon - bug #1807923 [login] Login with html entities in password fails +- [core] Undefined variable when creating a table that exists 2.11.1.0 (2007-09-20) diff --git a/libraries/database_interface.lib.php b/libraries/database_interface.lib.php index 7c61436f5..b3f350ced 100644 --- a/libraries/database_interface.lib.php +++ b/libraries/database_interface.lib.php @@ -611,7 +611,7 @@ function PMA_DBI_get_columns($database, $table, $full = false, $link = null) $fields = PMA_DBI_fetch_result( 'SHOW ' . ($full ? 'FULL' : '') . ' COLUMNS FROM ' . PMA_backquote($database) . '.' . PMA_backquote($table), - 'Fields', ($full ? null : 'Fields'), $link); + 'Field', ($full ? null : 'Field'), $link); if (! is_array($fields) || count($fields) < 1) { return false; }