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/dia/Dia_Relation_Schema.class.php')
-rw-r--r--libraries/plugins/schema/dia/Dia_Relation_Schema.class.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/libraries/plugins/schema/dia/Dia_Relation_Schema.class.php b/libraries/plugins/schema/dia/Dia_Relation_Schema.class.php
index a7d85b9d8b..fe2f0ab7ee 100644
--- a/libraries/plugins/schema/dia/Dia_Relation_Schema.class.php
+++ b/libraries/plugins/schema/dia/Dia_Relation_Schema.class.php
@@ -218,11 +218,13 @@ class PMA_Dia_Relation_Schema extends PMA_Export_Relation_Schema
* Upon instantiation This outputs the Dia XML document
* that user can download
*
+ * @param string $db database name
+ *
* @see PMA_DIA,Table_Stats_Dia,Relation_Stats_Dia
*/
- function __construct()
+ function __construct($db)
{
- parent::__construct(new PMA_DIA());
+ parent::__construct($db, new PMA_DIA());
$this->setShowColor(isset($_REQUEST['dia_show_color']));
$this->setShowKeys(isset($_REQUEST['dia_show_keys']));