fix php -> js issue when $alarmframe was false
This commit is contained in:
parent
237335c022
commit
71d1607f69
|
@ -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']);
|
||||
|
|
Loading…
Reference in New Issue