does not display the "data scheme" form if there is no table in the database

This commit is contained in:
Loïc Chapeaux
2002-05-17 14:38:41 +00:00
parent 3e7733b21d
commit c8c15f665b
2 changed files with 4 additions and 1 deletions

View File

@@ -10,6 +10,8 @@ $Source$
* tbl_qbe.php3, adjust drop-down width, thanks to Mike Beck
2002-05-17 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* 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

View File

@@ -438,7 +438,8 @@ echo ' ' . '&nbsp;<input type="submit" value="' . $strGo . '" />' . "\n";
<?php
// is this OK to check for 'class' support?
if (PMA_PHP_INT_VERSION >= 40000
&& (!empty($cfg['Server']['pdf_table_position']))) {
&& (!empty($cfg['Server']['pdf_table_position']))
&& $num_tables > 0) {
?>
<!-- PDF schema -->
<li>