fix php -> js issue when $alarmframe was false

This commit is contained in:
Andrew Bauer 2020-12-12 15:06:59 -06:00
parent 237335c022
commit 71d1607f69
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ $prevFid = $fid-1;
$nextFid = $fid+1;
$lastFid = $maxFid;
$alarmFrame = $Frame->Type() == 'Alarm';
$alarmFrame = ( $Frame->Type() == 'Alarm' ) ? 1 : 0;
if ( isset($_REQUEST['scale']) ) {
$scale = validNum($_REQUEST['scale']);