From e857fea8523de89bde1b53e82f403b3d65a75243 Mon Sep 17 00:00:00 2001 From: stan Date: Wed, 29 Aug 2007 17:32:36 +0000 Subject: [PATCH] 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 --- web/zm_actions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/zm_actions.php b/web/zm_actions.php index 82f92b6e5..18ef07276 100644 --- a/web/zm_actions.php +++ b/web/zm_actions.php @@ -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++ )