ent-9157 alert templates
This commit is contained in:
parent
bdb1fda92e
commit
5ae50dfb64
|
@ -573,7 +573,7 @@ sub pandora_evaluate_alert ($$$$$$$;$$$$) {
|
||||||
if ($timeBlock->{'start'} eq $timeBlock->{'end'}) {
|
if ($timeBlock->{'start'} eq $timeBlock->{'end'}) {
|
||||||
# All day.
|
# All day.
|
||||||
$inSlot = 1;
|
$inSlot = 1;
|
||||||
} elsif ($timeBlock->{'start'} le $time && $timeBlock->{'end'} ge $time) {
|
} elsif ($timeBlock->{'start'} le $time && (($timeBlock->{'end'} eq '00:00:00') || ($timeBlock->{'end'} ge $time))) {
|
||||||
# In range.
|
# In range.
|
||||||
$inSlot = 1;
|
$inSlot = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue