If rate > 1600, limit it to 1600 to prevent logged errors
This commit is contained in:
parent
24a9dcbf47
commit
7748616992
|
@ -46,6 +46,10 @@ if (isset($_REQUEST['rate']) ) {
|
|||
} else {
|
||||
$rate = reScale(RATE_BASE, $monitor->DefaultRate(), ZM_WEB_DEFAULT_RATE);
|
||||
}
|
||||
if ($rate > 1600) {
|
||||
$rate = 1600;
|
||||
zm_setcookie('zmEventRate', $rate);
|
||||
}
|
||||
|
||||
if (isset($_REQUEST['scale'])) {
|
||||
$scale = validInt($_REQUEST['scale']);
|
||||
|
|
Loading…
Reference in New Issue