diff --git a/ChangeLog b/ChangeLog index 5e677730d..ea0be37fc 100755 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,7 @@ $Source$ * pdf_pages.php3: bug 574637 undefined index * db_details_structure.php3: remove a PMA_backquote added today that introduces a bug + * pdf_schema.php3: undefined variables 2002-07-05 Alexander M. Turek * header.inc.php3: Tried to fix bug #571409 (Zend Accelerator problems). diff --git a/pdf_schema.php3 b/pdf_schema.php3 index 6977b6a4d..6fa6d9462 100644 --- a/pdf_schema.php3 +++ b/pdf_schema.php3 @@ -95,8 +95,8 @@ class PMA_PDF extends FPDF */ var $x_min; var $y_min; - var $l_marg; - var $t_marg; + var $l_marg = 10; + var $t_marg = 10; var $scale; var $title; @@ -278,9 +278,9 @@ class PMA_PDF extends FPDF function PMA_PDF_die($error_message = '') { global $cfg; - global $server, $lang, $db; + global $server, $lang, $db, $convcharset; global $charset, $text_dir, $strRunning, $strDatabase; - +echo "trace" . $convcharset; include('./header.inc.php3'); echo '

PDF - '. $GLOBALS['strError'] . '

' . "\n";