diff --git a/scripts/zmaudit.pl.in b/scripts/zmaudit.pl.in index d3f5eadd2..b1e54cd17 100644 --- a/scripts/zmaudit.pl.in +++ b/scripts/zmaudit.pl.in @@ -510,7 +510,7 @@ MAIN: while( $loop ) { $res = $updateUnclosedEventsSth->execute ( sprintf("%s%d%s", - $Monitors{$event->{MonitorId}->{Prefix}, + $Monitors{$event->{MonitorId}->{EventPrefix}, $event->{Id}, RECOVER_TAG ),