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,7 +284,7 @@ class RequestMgr extends AmdaObjectMgr | ||
284 | { | 284 | { |
285 | $argsTab['param'] = array_unique($params); | 285 | $argsTab['param'] = array_unique($params); |
286 | $argsTab['startTime'] = $tab->{'multi-plot-linked'} ? $obj->startDate : $tab->startDate; | 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 | if (count($argsTab) > 0) $args[] = $argsTab; | 290 | if (count($argsTab) > 0) $args[] = $argsTab; |
@@ -314,8 +314,8 @@ class RequestMgr extends AmdaObjectMgr | @@ -314,8 +314,8 @@ class RequestMgr extends AmdaObjectMgr | ||
314 | { | 314 | { |
315 | // tab is not defined, iterate over $obj->tabs? | 315 | // tab is not defined, iterate over $obj->tabs? |
316 | $argsTab['param'] = array_unique($params); | 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 | if (count($argsTab) > 0) $args[] = $argsTab; | 320 | if (count($argsTab) > 0) $args[] = $argsTab; |
321 | 321 |