Commit 8464a4ccbd693d51fedb2384cadabcf3286f8792

Authored by Benjamin Renard
1 parent a88159f7

Fix bug in parameter component defintion for a plot request

src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php
... ... @@ -651,13 +651,13 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass
651 651 $paramInfo = $this->paramManager->addExistingParam($paramData->{'paramid'}, $this->paramsData, $paramData->{'template_args'});
652 652  
653 653 $paramInfo['indexes'] = array();
654   - $dim1 = $paramData->{'param-dim-1'};
  654 + $dim1 = $paramData->{'dim1'};
655 655 if ($dim1 == '')
656 656 $dim1 = '*';
657   - $dim2 = $paramData->{'param-dim-2'};
  657 + $dim2 = $paramData->{'dim2'};
658 658 if ($dim2 == '')
659 659 $dim2 = '*';
660   - switch ($paramData->{'param-type'}) {
  660 + switch ($paramData->{'type'}) {
661 661 case 0:
662 662 //scalar - nothing to do
663 663 break;
... ...