Merge remote-tracking branch 'origin/QA_4_2' into QA_4_2

This commit is contained in:
Weblate 2014-09-27 15:13:27 +02:00
commit d21b4c03fd
3 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,7 @@ phpMyAdmin - ChangeLog
4.2.10.0 (not yet released)
- bug #4361 Can't change font size (when config.inc.php not present)
- bug #4542 Tab key in column name not shown
- bug PDF export: title not present in PDF
4.2.9.0 (2014-09-20)
- bug ajax.js responseHandler: cannot read property of null

View File

@ -67,7 +67,6 @@ if (!defined('TESTSUITE')) {
'mediawiki_headers',
'mediawiki_structure_or_data',
'mediawiki_caption',
'pdf_report_title',
'pdf_structure_or_data',
'odt_structure_or_data',
'odt_relation',

View File

@ -63,7 +63,9 @@ class ExportPdf extends ExportPlugin
*/
protected function initSpecificVariables()
{
$this->_setPdfReportTitle("");
if (! empty($_POST['pdf_report_title'])) {
$this->_setPdfReportTitle($_POST['pdf_report_title']);
}
$this->_setPdf(new PMA_ExportPdf('L', 'pt', 'A3'));
}