From 765e9021e48b52013bdc0d850b05c6ce490fffd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 20 Jul 2010 11:41:21 +0200 Subject: [PATCH] No need to handle convcharset here. --- export.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/export.php b/export.php index 5d487a107..8476a5250 100644 --- a/export.php +++ b/export.php @@ -262,11 +262,7 @@ if ($asfile) { } // convert filename to iso-8859-1, it is safer - if (!(isset($cfg['AllowAnywhereRecoding']) && $cfg['AllowAnywhereRecoding'] )) { - $filename = PMA_convert_string($charset, 'iso-8859-1', $filename); - } else { - $filename = PMA_convert_string($convcharset, 'iso-8859-1', $filename); - } + $filename = PMA_convert_string($charset, 'iso-8859-1', $filename); // Grab basic dump extension and mime type $filename .= '.' . $export_list[$type]['extension'];