mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Added second check to period field in module charts (admin have diferent field name)
This commit is contained in:
parent
6e8ef54bec
commit
ec2872b83b
@ -150,7 +150,10 @@ $alias = db_get_value ("alias","tagente","id_agente",$id_agent);
|
|||||||
$avg_only = $show_other;
|
$avg_only = $show_other;
|
||||||
}
|
}
|
||||||
|
|
||||||
$period = get_parameter ("period", SECONDS_1DAY);
|
$period = get_parameter ("period");
|
||||||
|
if ($period == "") {
|
||||||
|
$period = get_parameter ("period_select", SECONDS_1DAY);
|
||||||
|
}
|
||||||
$id = get_parameter ("id", 0);
|
$id = get_parameter ("id", 0);
|
||||||
$width = get_parameter ("width", STATWIN_DEFAULT_CHART_WIDTH);
|
$width = get_parameter ("width", STATWIN_DEFAULT_CHART_WIDTH);
|
||||||
$height = get_parameter ("height", STATWIN_DEFAULT_CHART_HEIGHT);
|
$height = get_parameter ("height", STATWIN_DEFAULT_CHART_HEIGHT);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user