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/schema/pdf/Pdf_Relation_Schema.class.php')
-rw-r--r--libraries/plugins/schema/pdf/Pdf_Relation_Schema.class.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/plugins/schema/pdf/Pdf_Relation_Schema.class.php b/libraries/plugins/schema/pdf/Pdf_Relation_Schema.class.php
index e43df4b60b..c4ade595f2 100644
--- a/libraries/plugins/schema/pdf/Pdf_Relation_Schema.class.php
+++ b/libraries/plugins/schema/pdf/Pdf_Relation_Schema.class.php
@@ -452,10 +452,12 @@ class PMA_Pdf_Relation_Schema extends PMA_Export_Relation_Schema
/**
* The "PMA_Pdf_Relation_Schema" constructor
*
+ * @param string $db database name
+ *
* @access private
* @see PMA_Schema_PDF
*/
- function __construct()
+ function __construct($db)
{
$this->setShowGrid(isset($_REQUEST['pdf_show_grid']));
$this->setShowColor(isset($_REQUEST['pdf_show_color']));
@@ -469,6 +471,7 @@ class PMA_Pdf_Relation_Schema extends PMA_Export_Relation_Schema
// Initializes a new document
parent::__construct(
+ $db,
new PMA_Schema_PDF(
$this->orientation, 'mm', $this->paper,
$this->pageNumber, $this->_withDoc