diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 0425912b22..20559c7c2b 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-12-05 Dario Rodriguez + + * mobile/operation/module_graph.php: Fixed a problem with + module graph filter regarding to event and period filter. + 2013-12-05 Dario Rodriguez * mobile/operation/modules.php: Added default value for tag diff --git a/pandora_console/mobile/operation/module_graph.php b/pandora_console/mobile/operation/module_graph.php index d66f99e754..4cff98e77c 100644 --- a/pandora_console/mobile/operation/module_graph.php +++ b/pandora_console/mobile/operation/module_graph.php @@ -56,7 +56,8 @@ class ModuleGraph { $this->graph_type = return_graphtype($this->module["id_tipo_modulo"]); $period_hours = $system->getRequest('period_hours', false); - if ($period_hours === false) { + + if ($period_hours == false) { $this->period = SECONDS_1DAY; } else { @@ -95,6 +96,9 @@ class ModuleGraph { } public function ajax($parameter2 = false) { + + global $config; + $system = System::getInstance(); if (!$this->correct_acl) { @@ -452,4 +456,4 @@ class ModuleGraph { } /* */ -} \ No newline at end of file +}