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

@@ -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>