From ade8d078df41eea211b492b5737c5d75707bc5e3 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sun, 8 Jul 2018 15:28:55 -0400 Subject: [PATCH] Define minTimeSecs and maxTimeSecs --- web/skins/classic/views/montagereview.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/skins/classic/views/montagereview.php b/web/skins/classic/views/montagereview.php index a3dad631b..2a581c55d 100644 --- a/web/skins/classic/views/montagereview.php +++ b/web/skins/classic/views/montagereview.php @@ -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);