Commit 574ec9ed953dce3a96dba05a1a9619649e10fefb
1 parent
d6410187
Exists in
master
and in
66 other branches
Use file prefix for download
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/InputOutput/IHMImpl/Params/DownloadImpl/IHMInputOutputParamsDownloadClass.php
@@ -62,8 +62,8 @@ class IHMInputOutputParamsDownloadClass extends IHMInputOutputParamsAbstractClas | @@ -62,8 +62,8 @@ class IHMInputOutputParamsDownloadClass extends IHMInputOutputParamsAbstractClas | ||
62 | throw new Exception('File format not implemented.'); | 62 | throw new Exception('File format not implemented.'); |
63 | } | 63 | } |
64 | 64 | ||
65 | - if ($input->output != "") | ||
66 | - $downloadNode->setFileName($input->output); | 65 | + if ($input->fileprefix != "") |
66 | + $downloadNode->setFileName($input->fileprefix); | ||
67 | 67 | ||
68 | //add params to output | 68 | //add params to output |
69 | foreach ($input->list as $param) | 69 | foreach ($input->list as $param) |