2013-12-05 Dario Rodriguez <dario@artica.es>

* mobile/operation/module_graph.php: Fixed a problem with
        module graph filter regarding to event and period filter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9172 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
darode 2013-12-05 14:35:27 +00:00
parent 5881df0e7e
commit acb272a405
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-12-05 Dario Rodriguez <dario@artica.es>
* mobile/operation/module_graph.php: Fixed a problem with
module graph filter regarding to event and period filter.
2013-12-05 Dario Rodriguez <dario@artica.es> 2013-12-05 Dario Rodriguez <dario@artica.es>
* mobile/operation/modules.php: Added default value for tag * mobile/operation/modules.php: Added default value for tag

View File

@ -56,7 +56,8 @@ class ModuleGraph {
$this->graph_type = return_graphtype($this->module["id_tipo_modulo"]); $this->graph_type = return_graphtype($this->module["id_tipo_modulo"]);
$period_hours = $system->getRequest('period_hours', false); $period_hours = $system->getRequest('period_hours', false);
if ($period_hours === false) {
if ($period_hours == false) {
$this->period = SECONDS_1DAY; $this->period = SECONDS_1DAY;
} }
else { else {
@ -95,6 +96,9 @@ class ModuleGraph {
} }
public function ajax($parameter2 = false) { public function ajax($parameter2 = false) {
global $config;
$system = System::getInstance(); $system = System::getInstance();
if (!$this->correct_acl) { if (!$this->correct_acl) {