have to set the MonitorId on events that don't exist in db

This commit is contained in:
Isaac Connor 2015-12-22 12:55:55 -05:00
parent 3932ce692c
commit 9ad22d9ee5
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}