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:
parent
3427dfddd2
commit
72166a3bbf
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue