Commit 97a69b2087f7b72b9f880f2e31c0297c30985e52
1 parent
84cb4dbb
Exists in
master
and in
65 other branches
Fix most of errors logged by apache
Showing
3 changed files
with
4 additions
and
3 deletions
Show diff stats
src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php
... | ... | @@ -27,6 +27,7 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass |
27 | 27 | $this->interactiveRequestRealIndexes = array(); |
28 | 28 | |
29 | 29 | $fullResetZoom = false; |
30 | + $forceTimeZoomReset = false; | |
30 | 31 | |
31 | 32 | if (isset($input->{'action'})) |
32 | 33 | { |
... | ... | @@ -650,7 +651,7 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass |
650 | 651 | foreach ($paramsData as $paramData) |
651 | 652 | { |
652 | 653 | //Param |
653 | - $paramInfo = $this->paramManager->addExistingParam($paramData->{'paramid'}, $this->paramsData, $paramData->{'template_args'}); | |
654 | + $paramInfo = $this->paramManager->addExistingParam($paramData->{'paramid'}, $this->paramsData, isset($paramData->{'template_args'}) ? $paramData->{'template_args'} : NULL); | |
654 | 655 | |
655 | 656 | $paramInfo['indexes'] = array(); |
656 | 657 | |
... | ... |
src/InputOutput/IHMImpl/Params/StatisticsImpl/IHMInputOutputParamsStatisticsClass.php
... | ... | @@ -54,7 +54,7 @@ class IHMInputOutputParamsStatisticsClass extends IHMInputOutputParamsAbstractCl |
54 | 54 | foreach ($paramFunctionAssociation as $param => $functions) |
55 | 55 | { |
56 | 56 | // template parameter |
57 | - if ($paramTemplateArgs[$param]) | |
57 | + if (!empty($paramTemplateArgs[$param])) | |
58 | 58 | { |
59 | 59 | foreach ($functions as $function) |
60 | 60 | { |
... | ... |
src/InputOutput/IHMImpl/Tools/IHMJobsManagerClass.php
... | ... | @@ -272,7 +272,7 @@ class IHMJobsManagerClass { |
272 | 272 | break; |
273 | 273 | case 'statistics' : |
274 | 274 | $name = 'statistics_'.time(); |
275 | - $info = $obj->expression; | |
275 | + $info = isset($obj->expression) ? $obj->expression : ""; | |
276 | 276 | break; |
277 | 277 | case 'download' : |
278 | 278 | if ($obj->downloadSrc == '2') //fits image |
... | ... |