Define minTimeSecs and maxTimeSecs

This commit is contained in:
Isaac Connor 2018-07-08 15:28:55 -04:00
parent d8a4acf319
commit ade8d078df
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ if ( isset($_REQUEST['displayinterval']) )
#$eventsSql .= ' GROUP BY E.Id,E.Name,E.StartTime,E.Length,E.Frames,E.MaxScore,E.Cause,E.Notes,E.Archived,E.MonitorId';
$minTimeSecs = $maxTimeSecs = 0;
if ( isset($minTime) && isset($maxTime) ) {
$minTimeSecs = strtotime($minTime);
$maxTimeSecs = strtotime($maxTime);