undefined variable when creating a table that exists
This commit is contained in:
@@ -17,6 +17,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
|||||||
thanks to Alex Rambau
|
thanks to Alex Rambau
|
||||||
- bug #1798786 [import] Wrong error message when a string contains semicolon
|
- bug #1798786 [import] Wrong error message when a string contains semicolon
|
||||||
- bug #1807923 [login] Login with html entities in password fails
|
- 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)
|
2.11.1.0 (2007-09-20)
|
||||||
|
|
||||||
|
@@ -728,7 +728,7 @@ function PMA_DBI_get_columns($database, $table, $full = false, $link = null)
|
|||||||
$fields = PMA_DBI_fetch_result(
|
$fields = PMA_DBI_fetch_result(
|
||||||
'SHOW ' . ($full ? 'FULL' : '') . ' COLUMNS
|
'SHOW ' . ($full ? 'FULL' : '') . ' COLUMNS
|
||||||
FROM ' . PMA_backquote($database) . '.' . PMA_backquote($table),
|
FROM ' . PMA_backquote($database) . '.' . PMA_backquote($table),
|
||||||
'Fields', ($full ? null : 'Fields'), $link);
|
'Field', ($full ? null : 'Field'), $link);
|
||||||
if (! is_array($fields) || count($fields) < 1) {
|
if (! is_array($fields) || count($fields) < 1) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user