[Phpmyadmin-git] [SCM] phpMyAdmin branch, QA_3_4, updated. RELEASE_3_4_6RC1-15-g77ad710

Madhura Jayaratne madhuracj at users.sourceforge.net
Fri Oct 14 16:54:01 CEST 2011


The branch, QA_3_4 has been updated
       via  77ad710d08eed759b9404e069e8dd6c1ea9f802f (commit)
      from  4a99b6a4942c02d0b1121650dc9f93fb83a42dac (commit)


- Log -----------------------------------------------------------------
commit 77ad710d08eed759b9404e069e8dd6c1ea9f802f
Author: Madhura Jayaratne <madhura.cj at gmail.com>
Date:   Fri Oct 14 20:17:25 2011 +0530

    bug #3423725 [pdf] Broken PDF file when exporting database to PDF

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                |    1 +
 libraries/export/pdf.php |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1cc2e3c..a79eebf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@ phpMyAdmin - ChangeLog
 - bug [view] View renaming did not work
 - bug [navi] Wrong icon for view (MySQL 5.5)
 - bug #3420229 [doc] Missing documentation section
+- bug #3423725 [pdf] Broken PDF file when exporting database to PDF
 
 3.4.6.0 (not yet released)
 - patch #3404173 InnoDB comment display with tooltips/aliases
diff --git a/libraries/export/pdf.php b/libraries/export/pdf.php
index 431df0d..786b1d1 100644
--- a/libraries/export/pdf.php
+++ b/libraries/export/pdf.php
@@ -129,7 +129,7 @@ class PMA_PDF extends TCPDF
         if (!isset($this->footerset[$this->page])) {
             $this->SetY(-15);
             //Page number
-            $this->setFooterFont(PMA_PDF_FONT, '', 14);
+            $this->SetFont(PMA_PDF_FONT, '', 14);
             $this->Cell(0, 6, __('Page number:') . ' ' . $this->getAliasNumPage() . '/' .  $this->getAliasNbPages(), 'T', 0, 'C');
 
             // set footerset


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list