Commit 7c2e29e99c72ba250b4b56dbba18deab991cce93
1 parent
4ea242cb
Exists in
master
and in
32 other branches
Fix
Showing
2 changed files
with
3 additions
and
1 deletions
Show diff stats
src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php
... | ... | @@ -909,7 +909,7 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass |
909 | 909 | empty($paramDrawingData->{'spectro-normalization'}) ? NULL : $paramDrawingData->{'spectro-normalization'}, |
910 | 910 | empty($paramDrawingData->{REQUESTOUTPUTPLOTSPECTRO_BGS_TYPE}) ? NULL : $paramDrawingData->{REQUESTOUTPUTPLOTSPECTRO_BGS_TYPE}, |
911 | 911 | !isset($paramDrawingData->{REQUESTOUTPUTPLOTSPECTRO_BGS_VALUE}) ? NULL : $paramDrawingData->{REQUESTOUTPUTPLOTSPECTRO_BGS_VALUE}, |
912 | - !isset($paramDrawingData->{REQUESTOUTPUTPLOTSPECTRO_BGS_DIM}) ? NULL : $paramDrawingData->{REQUESTOUTPUTPLOTSPECTRO_BGS_DIM} | |
912 | + !isset($paramDrawingData->{REQUESTOUTPUTPLOTSPECTRO_BGS_DIM}) || ($paramDrawingData->{REQUESTOUTPUTPLOTSPECTRO_BGS_DIM} == "") ? NULL : $paramDrawingData->{REQUESTOUTPUTPLOTSPECTRO_BGS_DIM} | |
913 | 913 | ); |
914 | 914 | } |
915 | 915 | protected function unmarshallSauvaud($paramDrawingData, $plotNode, $paramNode, $indexes) |
... | ... |
src/InputOutput/WSImpl/Params/DownloadImpl/WSInputOutputParamsDownloadClass.php
... | ... | @@ -123,6 +123,8 @@ class WSInputOutputParamsDownloadClass extends IHMInputOutputParamsAbstractClass |
123 | 123 | else { |
124 | 124 | $downloadNode->setStructure(RequestOutputDownloadStructureEnum::ONE_FILE_PER_PARAMETER_PER_INTERVAL); |
125 | 125 | } |
126 | + | |
127 | + $downloadNode->setPrecision("true"); | |
126 | 128 | |
127 | 129 | switch ($input->compression) |
128 | 130 | { |
... | ... |