From 9dcc0d85e92046b63bf67d654502b21c9d7237c1 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 29 Dec 2011 14:36:23 +0100 Subject: [PATCH] =?utf8?q?Dateinamen=20f=C3=BCr=20CSV-Beispieldatei=20sinn?= =?utf8?q?voll=20setzen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Bisher war es der (interne) Name der Session-Datei, also etwas wie user_session_files_mb_89072314971954719735691723948123_csv_bla_blubb_charlie_the_unicorn.csv. --- SL/Controller/CsvImport.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/CsvImport.pm b/SL/Controller/CsvImport.pm index 9549ae2a7..b00bcf356 100644 --- a/SL/Controller/CsvImport.pm +++ b/SL/Controller/CsvImport.pm @@ -84,7 +84,7 @@ sub action_download_sample { $file->fh->close; - $self->send_file($file->file_name); + $self->send_file($file->file_name, name => $file_name); } # -- 2.20.1