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:
authorMichal Čihař <michal@cihar.com>2011-09-01 16:29:03 +0400
committerMichal Čihař <michal@cihar.com>2011-09-01 16:29:03 +0400
commit46c5bfc01d60d1ebb638b591a595a0a877d139b8 (patch)
tree4ded0003dcf1d7f31e247ca9074688e67c8ef271 /transformation_wrapper.php
parent91fb4888e2012582605329abdb31069472375d54 (diff)
Fix transformation without download
Diffstat (limited to 'transformation_wrapper.php')
-rw-r--r--transformation_wrapper.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/transformation_wrapper.php b/transformation_wrapper.php
index b6296cd807..5d94c375b0 100644
--- a/transformation_wrapper.php
+++ b/transformation_wrapper.php
@@ -65,10 +65,6 @@ if (isset($ct) && !empty($ct)) {
$mime_type = (isset($mime_map[$transform_key]['mimetype']) ? str_replace('_', '/', $mime_map[$transform_key]['mimetype']) : $default_ct) . (isset($mime_options['charset']) ? $mime_options['charset'] : '');
}
-if (empty($cn)) {
- $cn = 'download.bin';
-}
-
PMA_download_header($cn, $mime_type);
if (! isset($resize)) {