also fix timeline which has the same problem

pull/728/head
Isaac Connor 2015-02-23 14:27:35 -05:00
parent dd714665bd
commit c9f109bc27
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ $eventsSql = "select E.Id,E.Name,E.StartTime,E.EndTime,E.Length,E.Frames,E.MaxSc
if ( !empty($user['MonitorIds']) )
{
$monFilterSql = " and M.Id in (".join( ",", preg_split( '/["\'\s]*,["\'\s]*/', $user['MonitorIds'] ) ).")";
$monFilterSql = ' AND M.Id IN ('.$user['MonitorIds'].')';
$rangeSql .= $monFilterSql;
$eventsSql .= $monFilterSql;