diff --git a/handle_relation_schema.php b/handle_relation_schema.php new file mode 100644 index 000000000..043bef28c --- /dev/null +++ b/handle_relation_schema.php @@ -0,0 +1,48 @@ +stringCommands; diff --git a/libraries/schema/Svg_Relation_Schema.class.php b/libraries/schema/Svg_Relation_Schema.class.php index 397750f62..a6b809531 100644 --- a/libraries/schema/Svg_Relation_Schema.class.php +++ b/libraries/schema/Svg_Relation_Schema.class.php @@ -172,7 +172,7 @@ class PMA_SVG extends XMLWriter */ function showOutput($fileName) { - ob_get_clean(); + //ob_get_clean(); header('Content-type: image/svg+xml'); header('Content-Disposition: attachment; filename="'.$fileName.'.svg"'); $output = $this->flush(); @@ -349,7 +349,7 @@ class Table_Stats * @global array The relations settings * @global string The current db name * @access private - * @see PMA_PDF, Table_Stats::Table_Stats_setWidth, + * @see PMA_SVG, Table_Stats::Table_Stats_setWidth, Table_Stats::Table_Stats_setHeight */ function __construct($tableName, $font, $fontSize, $pageNumber, &$same_wide_width, $showKeys = false, $showInfo = false) diff --git a/libraries/schema/User_Schema.class.php b/libraries/schema/User_Schema.class.php index 1d89ff628..6e41e782d 100644 --- a/libraries/schema/User_Schema.class.php +++ b/libraries/schema/User_Schema.class.php @@ -65,7 +65,7 @@ class PMA_User_Schema case 'edcoord': $this->choosenPage = $_POST['chpage']; $this->c_table_rows = $_POST['c_table_rows']; - $this->_editCoordinates($db, $cfgRelation); + $this->_editCoordinates($db, $cfgRelation,$query_default_option); break; case 'deleteCrap': $this->_deleteTableRows($delrow,$cfgRelation,$db,$this->choosenPage); @@ -341,7 +341,7 @@ class PMA_User_Schema { global $cfg,$pmaThemeImage,$db,$test_rs,$chpage; ?> -