Bug 373 - Fixed to work with saved weekday filters.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2021 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2006-10-19 15:59:13 +00:00
parent 2b5292eaa5
commit e429a6b2f4
1 changed files with 0 additions and 10 deletions

View File

@ -328,16 +328,6 @@ sub getFilters
} }
$value = "extract( hour_second from '$value' )"; $value = "extract( hour_second from '$value' )";
} }
elsif ( $filter_terms{$attr_name} eq 'Weekday' )
{
$value = DateTimeToSQL( $temp_value );
if ( !$value )
{
Error( "Error parsing date/time '$temp_value', skipping filter '$filter_data->{Name}'\n" );
next FILTER;
}
$value = "weekday( '$value' )";
}
else else
{ {
$value = $temp_value; $value = $temp_value;