Commit 0342cf4681ca29788f5536c30f83ed6ccaac1e8c
1 parent
378a5f7d
Exists in
master
and in
101 other branches
Fix download of IMPEx parameters
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
php/classes/RequestMgr.php
... | ... | @@ -284,7 +284,7 @@ class RequestMgr extends AmdaObjectMgr |
284 | 284 | { |
285 | 285 | $argsTab['param'] = array_unique($params); |
286 | 286 | $argsTab['startTime'] = $tab->{'multi-plot-linked'} ? $obj->startDate : $tab->startDate; |
287 | - $argsTab['stopTime'] = $tab->{'multi-plot-linked'} ? $obj->startDate : $tab->stopDate; | |
287 | + $argsTab['stopTime'] = $tab->{'multi-plot-linked'} ? $obj->stopDate : $tab->stopDate; | |
288 | 288 | } |
289 | 289 | } |
290 | 290 | if (count($argsTab) > 0) $args[] = $argsTab; |
... | ... | @@ -314,8 +314,8 @@ class RequestMgr extends AmdaObjectMgr |
314 | 314 | { |
315 | 315 | // tab is not defined, iterate over $obj->tabs? |
316 | 316 | $argsTab['param'] = array_unique($params); |
317 | - $argsTab['startTime'] = $tab->{'multi-plot-linked'} ? $obj->startDate : $tab->startDate; | |
318 | - $argsTab['stopTime'] = $tab->{'multi-plot-linked'} ? $obj->startDate : $tab->stopDate; | |
317 | + $argsTab['startTime'] = $obj->startDate; | |
318 | + $argsTab['stopTime'] = $obj->stopDate; | |
319 | 319 | } |
320 | 320 | if (count($argsTab) > 0) $args[] = $argsTab; |
321 | 321 | ... | ... |