diff --git a/web/skins/classic/views/montagereview.php b/web/skins/classic/views/montagereview.php index b85ca9fda..9cdb882ce 100644 --- a/web/skins/classic/views/montagereview.php +++ b/web/skins/classic/views/montagereview.php @@ -474,6 +474,11 @@ foreach ($monitors as $m) $numMonitors += 1; } echo "var numMonitors = $numMonitors;\n"; + +if ( ! $minTimeSecs ) +$minTimeSecs = strtotime("2036-01-01 01:01:01"); +if ( ! $maxTimeSecs ) +$maxTimeSecs = strtotime("1950-01-01 01:01:01"); echo "var minTimeSecs=" . $minTimeSecs . ";\n"; echo "var maxTimeSecs=" . $maxTimeSecs . ";\n"; echo "var rangeTimeSecs=" . ( $maxTimeSecs - $minTimeSecs + 1) . ";\n";