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:
parent
5881df0e7e
commit
acb272a405
|
@ -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
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue