From 331da7daea08115aeb92caad0e0d591b84e55641 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 19 Jul 2002 14:27:02 +0000 Subject: [PATCH] bug 583833 --- ChangeLog | 4 ++++ pdf_schema.php3 | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fcebcd63a..bf0042a7f 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2002-07-19 Marc Delisle + * pdf_schema.php3, bug 583833: should not complain if some tables + are missing + 2002-07-19 Loïc Chapeaux * pdf_page.php3; libraries/common.lib.php3: PHP3 fixes. * tbl_properties_structure.php3: coding standards. diff --git a/pdf_schema.php3 b/pdf_schema.php3 index f65b542d6..99ab57370 100644 --- a/pdf_schema.php3 +++ b/pdf_schema.php3 @@ -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 '' . $strError . '
' . "\n"; $url_to_goto = ''; echo sprintf($strRelationNotWorking, $url_to_goto, '') . "\n";