Commit 8464a4ccbd693d51fedb2384cadabcf3286f8792
1 parent
a88159f7
Exists in
master
and in
66 other branches
Fix bug in parameter component defintion for a plot request
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php
@@ -651,13 +651,13 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass | @@ -651,13 +651,13 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass | ||
651 | $paramInfo = $this->paramManager->addExistingParam($paramData->{'paramid'}, $this->paramsData, $paramData->{'template_args'}); | 651 | $paramInfo = $this->paramManager->addExistingParam($paramData->{'paramid'}, $this->paramsData, $paramData->{'template_args'}); |
652 | 652 | ||
653 | $paramInfo['indexes'] = array(); | 653 | $paramInfo['indexes'] = array(); |
654 | - $dim1 = $paramData->{'param-dim-1'}; | 654 | + $dim1 = $paramData->{'dim1'}; |
655 | if ($dim1 == '') | 655 | if ($dim1 == '') |
656 | $dim1 = '*'; | 656 | $dim1 = '*'; |
657 | - $dim2 = $paramData->{'param-dim-2'}; | 657 | + $dim2 = $paramData->{'dim2'}; |
658 | if ($dim2 == '') | 658 | if ($dim2 == '') |
659 | $dim2 = '*'; | 659 | $dim2 = '*'; |
660 | - switch ($paramData->{'param-type'}) { | 660 | + switch ($paramData->{'type'}) { |
661 | case 0: | 661 | case 0: |
662 | //scalar - nothing to do | 662 | //scalar - nothing to do |
663 | break; | 663 | break; |