Bug 412 - Fixed issue with immediate filters not being executed.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2166 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2007-08-29 17:32:36 +00:00
parent 2c09dbeeb9
commit e857fea852
1 changed files with 4 additions and 4 deletions

View File

@ -173,12 +173,12 @@ if ( !empty($action) )
{
$temp_filter_name = "_TempFilter".time();
}
if ( $temp_filter_name )
$filter_name = $temp_filter_name;
elseif ( $new_filter_name )
$filter_name = $new_filter_name;
if ( $filter_name || $new_filter_name )
{
if ( $temp_filter_name )
$filter_name = $temp_filter_name;
elseif ( $new_filter_name )
$filter_name = $new_filter_name;
$filter_query = array();
$filter_query['trms'] = $trms;
for ( $i = 1; $i <= $trms; $i++ )