From c8c15f665b3da9fd94885fe35c471fbabd2acd9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Fri, 17 May 2002 14:38:41 +0000 Subject: [PATCH] does not display the "data scheme" form if there is no table in the database --- ChangeLog | 2 ++ db_details_structure.php3 | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8b6b0c85e..cfdfbb17a 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ $Source$ * tbl_qbe.php3, adjust drop-down width, thanks to Mike Beck 2002-05-17 Loïc Chapeaux + * db_details_structure.php3, lines 442: does not display the "data scheme" + form if there is no table in the database. * db_details_structure.php3, lines 446-458; tbl_properties_options.php3, lines 119-143: beautified generated code. * libraries/build_dump.php3, lines 70-75: fixed bug #551682 - PMA ignores diff --git a/db_details_structure.php3 b/db_details_structure.php3 index 34dd36ae2..b970e8701 100644 --- a/db_details_structure.php3 +++ b/db_details_structure.php3 @@ -438,7 +438,8 @@ echo ' ' . ' ' . "\n"; = 40000 - && (!empty($cfg['Server']['pdf_table_position']))) { + && (!empty($cfg['Server']['pdf_table_position'])) + && $num_tables > 0) { ?>