Fixed typos in filter queries.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2205 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2007-09-17 20:38:33 +00:00
parent 3427dfddd2
commit 72166a3bbf
1 changed files with 2 additions and 2 deletions

View File

@ -449,7 +449,7 @@ foreach( array_keys($mon_frame_slots) as $monitor_id )
{
$xcount++;
$frames_sql = "select F.FrameId,F.Score from Frames as F where F.EventId = '".$curr_frame_slots[$i]['event']['Id']."' and F.Score > 0 order by F.FrameId limit 0,1";
$curr_frame_slots[$i]['frame'] = dbFetchOne( $frame_sql );
$curr_frame_slots[$i]['frame'] = dbFetchOne( $frames_sql );
}
}
}
@ -1698,7 +1698,7 @@ function parseTreeToQuery( $tree )
{
$filter = parseTreeToFilter( $tree );
parseFilter( $filter );
return( $filter['Query'] );
return( $filter['query'] );
}
function _drawTree( $node, $level )