have to set the MonitorId on events that don't exist in db
This commit is contained in:
parent
3932ce692c
commit
9ad22d9ee5
|
@ -274,6 +274,7 @@ MAIN: while( $loop ) {
|
||||||
if ( confirm() )
|
if ( confirm() )
|
||||||
{
|
{
|
||||||
my $Event = new ZoneMinder::Event( $fs_event );
|
my $Event = new ZoneMinder::Event( $fs_event );
|
||||||
|
$Event->MonitorId( $fs_monitor );
|
||||||
$Event->delete_files();
|
$Event->delete_files();
|
||||||
$cleaned = 1;
|
$cleaned = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue