undefined variable when creating a table that exists

This commit is contained in:
Marc Delisle
2007-10-06 20:03:52 +00:00
parent c52481b5f9
commit efa1b7f6aa
2 changed files with 2 additions and 1 deletions

View File

@@ -728,7 +728,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;
}