mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
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…
x
Reference in New Issue
Block a user