resolved error with mail graph
This commit is contained in:
parent
c33f2182ff
commit
27df4348be
|
@ -1376,11 +1376,11 @@ sub pandora_execute_action ($$$$$$$$$;$) {
|
|||
my $threshold = shift;
|
||||
my $period = $hours * 3600; # Hours to seconds
|
||||
if($threshold == 0){
|
||||
$params->{"other"} = $period . '%7C0%7C0%7C225';
|
||||
$params->{"other"} = $period . '%7C1%7C0%7C225';
|
||||
$cid = 'module_graph_' . $hours . 'h';
|
||||
}
|
||||
else{
|
||||
$params->{"other"} = $period . '%7C0%7C1%7C225';
|
||||
$params->{"other"} = $period . '%7C1%7C1%7C225';
|
||||
$cid = 'module_graphth_' . $hours . 'h';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue