Commit 89c733f2b7d5641bebaa683f1b1dc49531e249f9
Exists in
master
and in
111 other branches
Merge branch 'master' of https://gitlab.irap.omp.eu/CDPP/AMDA_IHM
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
php/classes/CatalogMgr.php
... | ... | @@ -164,7 +164,7 @@ class CatalogMgr extends TimeTableMgr { |
164 | 164 | } |
165 | 165 | } |
166 | 166 | // for catalog : params header |
167 | - $paramsNodes = $xpath->query('//parametres/param'); | |
167 | + $paramsNodes = $xpath->query('//parameters/parameter'); | |
168 | 168 | $paramsArray = array(); |
169 | 169 | |
170 | 170 | if ($paramsNodes->length > 0) |
... | ... | @@ -194,10 +194,10 @@ class CatalogMgr extends TimeTableMgr { |
194 | 194 | */ |
195 | 195 | protected function setParamDescription($params) |
196 | 196 | { |
197 | - $paramsElement = $this->objectDom->createElement('parametres'); | |
197 | + $paramsElement = $this->objectDom->createElement('parameters'); | |
198 | 198 | foreach ($params as $param) |
199 | 199 | { |
200 | - $paramElement = $this->objectDom->createElement('param'); | |
200 | + $paramElement = $this->objectDom->createElement('parameter'); | |
201 | 201 | $attrArray = (array)$param; |
202 | 202 | foreach ($attrArray as $key => $value) |
203 | 203 | $paramElement->setAttribute($key, $value); |
... | ... | @@ -251,4 +251,4 @@ class CatalogMgr extends TimeTableMgr { |
251 | 251 | |
252 | 252 | |
253 | 253 | } |
254 | -?> | |
255 | 254 | \ No newline at end of file |
255 | +?> | |
... | ... |