resolved error with mail graph

This commit is contained in:
marcos 2021-04-13 10:29:42 +02:00
parent c33f2182ff
commit 27df4348be
1 changed files with 2 additions and 2 deletions

View File

@ -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';
}