diff --git a/libraries/schema/Eps_Relation_Schema.class.php b/libraries/schema/Eps_Relation_Schema.class.php index f0480f9e22..b7a8a2c48f 100644 --- a/libraries/schema/Eps_Relation_Schema.class.php +++ b/libraries/schema/Eps_Relation_Schema.class.php @@ -695,10 +695,10 @@ class PMA_Eps_Relation_Schema extends PMA_Export_Relation_Schema global $eps,$db; $this->setPageNumber($_POST['pdf_page_number']); - $this->setShowColor(isset($_POST['show_color'])); - $this->setShowKeys(isset($_POST['show_keys'])); - $this->setTableDimension(isset($_POST['show_table_dimension'])); - $this->setAllTablesSameWidth(isset($_POST['all_tables_same_width'])); + $this->setShowColor($_POST['show_color']); + $this->setShowKeys($_POST['show_keys']); + $this->setTableDimension($_POST['show_table_dimension']); + $this->setAllTablesSameWidth($_POST['all_tables_same_width']); $this->setOrientation($_POST['orientation']); $this->setExportType($_POST['export_type']); diff --git a/libraries/schema/Pdf_Relation_Schema.class.php b/libraries/schema/Pdf_Relation_Schema.class.php index 97d9c99f54..9adb5e5229 100644 --- a/libraries/schema/Pdf_Relation_Schema.class.php +++ b/libraries/schema/Pdf_Relation_Schema.class.php @@ -828,11 +828,11 @@ class PMA_Pdf_Relation_Schema extends PMA_Export_Relation_Schema global $pdf, $db; $this->setPageNumber($_POST['pdf_page_number']); - $this->setShowGrid(isset($_POST['show_grid'])); - $this->setShowColor(isset($_POST['show_color'])); - $this->setShowKeys(isset($_POST['show_keys'])); - $this->setTableDimension(isset($_POST['show_table_dimension'])); - $this->setAllTablesSameWidth(isset($_POST['all_tables_same_width'])); + $this->setShowGrid($_POST['show_grid']); + $this->setShowColor($_POST['show_color']); + $this->setShowKeys($_POST['show_keys']); + $this->setTableDimension($_POST['show_table_dimension']); + $this->setAllTablesSameWidth($_POST['all_tables_same_width']); $this->setWithDataDictionary($_POST['with_doc']); $this->setOrientation($_POST['orientation']); $this->setPaper($_POST['paper']); diff --git a/libraries/schema/Svg_Relation_Schema.class.php b/libraries/schema/Svg_Relation_Schema.class.php index 4cb0b9f19a..a836cb6063 100644 --- a/libraries/schema/Svg_Relation_Schema.class.php +++ b/libraries/schema/Svg_Relation_Schema.class.php @@ -667,10 +667,10 @@ class PMA_Svg_Relation_Schema extends PMA_Export_Relation_Schema global $svg,$db; $this->setPageNumber($_POST['pdf_page_number']); - $this->setShowColor(isset($_POST['show_color'])); - $this->setShowKeys(isset($_POST['show_keys'])); - $this->setTableDimension(isset($_POST['show_table_dimension'])); - $this->setAllTablesSameWidth(isset($_POST['all_tables_same_width'])); + $this->setShowColor($_POST['show_color']); + $this->setShowKeys($_POST['show_keys']); + $this->setTableDimension($_POST['show_table_dimension']); + $this->setAllTablesSameWidth($_POST['all_tables_same_width']); $this->setExportType($_POST['export_type']); $svg = new PMA_SVG();