bug #1107937 undefined fields_list

This commit is contained in:
Marc Delisle
2005-01-24 00:26:43 +00:00
parent db02f14672
commit 0b36d0a850
2 changed files with 5 additions and 2 deletions

View File

@@ -5,7 +5,10 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2005-01-24 Michal Čihař <michal@cihar.com> 2005-01-23 Marc Delisle <lem9@users.sourceforge.net>
* tbl_query_box.php: bug #1107937, undefined $fields_list
2005-01-23 Michal Čihař <michal@cihar.com>
* export.php: Back to Content-Type application/x-bzip2 on bzip2 export * export.php: Back to Content-Type application/x-bzip2 on bzip2 export
(bug #1106652). (bug #1106652).

View File

@@ -160,7 +160,7 @@ if (!isset($is_inside_querywindow) ||
<textarea name="sql_query" rows="<?php echo $cfg['TextareaRows']; ?>" cols="<?php echo ((isset($is_inside_querywindow) && $is_inside_querywindow == TRUE && $queryframe_tdcolspan != '') ? ceil($cfg['TextareaCols'] * 1.25) : $cfg['TextareaCols'] * 2); ?>" dir="<?php echo $text_dir; ?>"<?php echo $auto_sel; ?>><?php <textarea name="sql_query" rows="<?php echo $cfg['TextareaRows']; ?>" cols="<?php echo ((isset($is_inside_querywindow) && $is_inside_querywindow == TRUE && $queryframe_tdcolspan != '') ? ceil($cfg['TextareaCols'] * 1.25) : $cfg['TextareaCols'] * 2); ?>" dir="<?php echo $text_dir; ?>"<?php echo $auto_sel; ?>><?php
if (!empty($query_to_display)) { if (!empty($query_to_display)) {
echo htmlspecialchars($query_to_display); echo htmlspecialchars($query_to_display);
} elseif (isset($table) && !empty($table)) { } elseif (isset($table) && !empty($table) && isset($fields_list)) {
echo htmlspecialchars( echo htmlspecialchars(
str_replace('%d', PMA_backquote($db), str_replace('%d', PMA_backquote($db),
str_replace('%t', PMA_backquote($table), str_replace('%t', PMA_backquote($table),