Skip to content

Commit

Permalink
Fix use of numeric == instead of string compare
Browse files Browse the repository at this point in the history
  • Loading branch information
connortechnology committed Sep 30, 2024
1 parent cebbeab commit 6be3850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zmeventnotification.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ ()

# First we need to close any other open events for this monitor
foreach my $ev ( keys %{ $active_events{$mid} } ) {
next if $ev == 'last_event_processed';
next if $ev eq 'last_event_processed';
if (!$active_events{$mid}->{$ev}->{End}) {
Debug(2,
"Closing unclosed event:$ev of Monitor:$mid as we are in a new event",
Expand Down

0 comments on commit 6be3850

Please sign in to comment.