Commit 574ec9ed953dce3a96dba05a1a9619649e10fefb

Authored by Benjamin Renard
1 parent d6410187

Use file prefix for download

src/InputOutput/IHMImpl/Params/DownloadImpl/IHMInputOutputParamsDownloadClass.php
... ... @@ -62,8 +62,8 @@ class IHMInputOutputParamsDownloadClass extends IHMInputOutputParamsAbstractClas
62 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 68 //add params to output
69 69 foreach ($input->list as $param)
... ...