diff --git a/scripts/zmaudit.pl.in b/scripts/zmaudit.pl.in index 48157c3c2..2caec2eb5 100644 --- a/scripts/zmaudit.pl.in +++ b/scripts/zmaudit.pl.in @@ -274,6 +274,7 @@ MAIN: while( $loop ) { if ( confirm() ) { my $Event = new ZoneMinder::Event( $fs_event ); + $Event->MonitorId( $fs_monitor ); $Event->delete_files(); $cleaned = 1; }