Fixed time range with user no admin
This commit is contained in:
parent
431cafc713
commit
2bcc01c9ba
|
@ -139,7 +139,10 @@ $interface_traffic_modules = array(
|
|||
}
|
||||
|
||||
// Get input parameters
|
||||
$period = (int) get_parameter('period', SECONDS_1HOUR);
|
||||
$period = get_parameter ("period");
|
||||
if ($period == "") {
|
||||
$period = get_parameter ("period_select", SECONDS_1DAY);
|
||||
}
|
||||
$width = (int) get_parameter("width", 555);
|
||||
$height = (int) get_parameter("height", 245);
|
||||
$start_date = (string) get_parameter("start_date", date("Y-m-d"));
|
||||
|
|
Loading…
Reference in New Issue