bug 583833

This commit is contained in:
Marc Delisle
2002-07-19 14:27:02 +00:00
parent afc09c79e9
commit 331da7daea
2 changed files with 10 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2002-07-19 Marc Delisle <lem9@users.sourceforge.net>
* pdf_schema.php3, bug 583833: should not complain if some tables
are missing
2002-07-19 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* pdf_page.php3; libraries/common.lib.php3: PHP3 fixes.
* tbl_properties_structure.php3: coding standards.

View File

@@ -27,8 +27,13 @@ $cfgRelation = PMA_getRelationsParam();
* This page is absolutely useless if you didn't set up your tables
* correctly, so it is a good place to see which tables we can and
* complain ;-)
*
* lem9: but only complain if relation (relwork),
* pdf_pages or table_coords (pdfwork)
* are missing
*/
if (!$cfgRelation['allworks']) {
//if (!$cfgRelation['allworks']) {
if (!$cfgRelation['relwork'] || !$cfgRelation['pdfwork']) {
echo '<font color="red">' . $strError . '</font><br />' . "\n";
$url_to_goto = '<a href="' . $cfg['PmaAbsoluteUri'] . 'chk_rel.php3?' . $url_query . '">';
echo sprintf($strRelationNotWorking, $url_to_goto, '</a>') . "\n";