Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/plugins/export/ExportPdf.class.php')
-rw-r--r--libraries/plugins/export/ExportPdf.class.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/plugins/export/ExportPdf.class.php b/libraries/plugins/export/ExportPdf.class.php
index 876f0700bb..5efc704681 100644
--- a/libraries/plugins/export/ExportPdf.class.php
+++ b/libraries/plugins/export/ExportPdf.class.php
@@ -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'));
}