diff --git a/libraries/schema/Svg_Relation_Schema.class.php b/libraries/schema/Svg_Relation_Schema.class.php index c845efe937..71f93c606d 100644 --- a/libraries/schema/Svg_Relation_Schema.class.php +++ b/libraries/schema/Svg_Relation_Schema.class.php @@ -168,8 +168,7 @@ class PMA_SVG extends XMLWriter function showOutput($fileName) { //ob_get_clean(); - header('Content-type: image/svg+xml'); - header('Content-Disposition: attachment; filename="'.$fileName.'.svg"'); + PMA_download_header($fileName . '.svg', 'image/svg+xml'); $output = $this->flush(); print $output; }