diff --git a/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php b/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php index e37bc70..3bfc188 100644 --- a/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php +++ b/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php @@ -284,11 +284,12 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass case ProcessStatusEnumClass::DONE : $result = array(); - foreach ($data->getWaitingResults() as $waitingResult) + foreach ($data->getWaitingResults() as $key => $waitingResult) { $contextResult = str_replace(".png","_context.xml",$waitingResult); $result[] = array( + "id" => $key, "context" => IHMPlotContextFileClass::parse($this->getWorkingPath().$contextResult), "plot" => $waitingResult ); -- libgit2 0.21.2