Commit c29a804f39d299c32532adf6d0a3e2938b5e9f11

Authored by Benjamin Renard
1 parent 058077b0

Fix bug

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php
... ... @@ -267,7 +267,7 @@ class IHMParamManagerClass
267 267  
268 268 //check templated parameter
269 269 $real_param_id = $paramId;
270   - $paramPath = "";
  270 + $paramPath = "";
271 271 if ($this->templateParamsManager->isTemplatedParam($paramId)) {
272 272 $paramPath = $this->templateParamsManager->generateTemplatedParamFile($paramId, $templateArgs, $tableLink);
273 273 $real_param_id = $this->templateParamsManager->getTemplatedParamId($paramId, $templateArgs);
... ... @@ -292,7 +292,7 @@ class IHMParamManagerClass
292 292 */
293 293 private function addLinkedLocalParams($paramId,$paramsData,$templateArgs = NULL)
294 294 {
295   - $doc = new DOMDocument("1.0", "UTF-8");
  295 + $doc = new DOMDocument("1.0", "UTF-8");
296 296 $doc->preserveWhiteSpace = false;
297 297 $doc->formatOutput = true;
298 298  
... ... @@ -340,7 +340,7 @@ class IHMParamManagerClass
340 340 }
341 341 }
342 342  
343   - $this->addExistingParam($linkedParamId, $paramsData);
  343 + $this->addExistingParam($linkedParamId, $paramsData, $templateArgs);
344 344 }
345 345 }
346 346  
... ...