Fixed filter bug with events not being checked unless filters have
been reloaded. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@544 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
0f693c084f
commit
ca8b49e1d4
|
@ -219,6 +219,7 @@ while( 1 )
|
|||
print( "Reloading filters\n" ) if ( VERBOSE );
|
||||
$last_action = time();
|
||||
$filters = GetFilters( $monitor );
|
||||
}
|
||||
|
||||
foreach my $filter ( @$filters )
|
||||
{
|
||||
|
@ -284,7 +285,6 @@ while( 1 )
|
|||
}
|
||||
$sth->finish();
|
||||
}
|
||||
}
|
||||
$event_id = $last_event_id;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue