diff --git a/www/waterfall.inc b/www/waterfall.inc index 4d9b713c82..53ecdb9879 100644 --- a/www/waterfall.inc +++ b/www/waterfall.inc @@ -328,7 +328,7 @@ function _GetMapOrImage($rows, $url, $page_events, $options, $is_image_map, $pag // Figure out the scale. $min_ms = 0; $max_ms = 0; - if (@$_REQUEST['min'] > 0) { + if (@$_REQUEST['min'] > 0 && @$_REQUEST['min'] < @$_REQUEST['max']) { $min_ms = (int)($_REQUEST['min'] * 1000.0); } if (@$_REQUEST['max'] > 0) {