From 0e6fc6192201c0df7e2de14ecc12a571e3b770bb Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Fri, 28 Feb 2003 19:06:04 +0000 Subject: [PATCH] Only show fieldlist, when $table is set. --- ChangeLog | 2 +- tbl_query_box.php3 | 23 ++++++++++++++--------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9f71154cb..b89f0957c 100755 --- a/ChangeLog +++ b/ChangeLog @@ -25,7 +25,7 @@ $Source$ - Made the textarea smaller (*1.25 instead of *2) for the window only. - Fixed a bug when you changed from a table to a database on the left frame and the query window still wants to show the previous table. - + * tbl_query_box.php3: Only show fieldlist, when $table is set. * translators.html: Adjusted to same topmenu as Documentation.html. With the new 'Transformations' item the bar was too large to fit on standard 800x600 browser windows. diff --git a/tbl_query_box.php3 b/tbl_query_box.php3 index bf91fdb7b..0a0a8e371 100755 --- a/tbl_query_box.php3 +++ b/tbl_query_box.php3 @@ -97,17 +97,22 @@ if (!isset($is_inside_querywindow) ||
  • - - + ' . htmlspecialchars($fields_list[$i]) . '' . "\n"; + } + ?> +