mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-19 12:06:29 -04:00
ServerId can be null so must have quotes around it
This commit is contained in:
@@ -18,7 +18,7 @@ foreach ( $monitors as $monitor ) {
|
||||
?>
|
||||
monitorData[monitorData.length] = {
|
||||
'id': <?php echo $monitor->Id() ?>,
|
||||
'server_id': <?php echo $monitor->ServerId() ?>,
|
||||
'server_id': '<?php echo $monitor->ServerId() ?>',
|
||||
'connKey': '<?php echo $monitor->connKey() ?>',
|
||||
'width': <?php echo $monitor->ViewWidth() ?>,
|
||||
'height':<?php echo $monitor->ViewHeight() ?>,
|
||||
|
||||
@@ -43,7 +43,7 @@ foreach ($monitors as $m) {
|
||||
?>
|
||||
monitorData[monitorData.length] = {
|
||||
'id': <?php echo $m->Id() ?>,
|
||||
'server_id': <?php echo $m->ServerId() ?>,
|
||||
'server_id': '<?php echo $m->ServerId() ?>',
|
||||
'connKey': <?php echo $m->connKey() ?>,
|
||||
'width': <?php echo $m->ViewWidth() ?>,
|
||||
'height':<?php echo $m->ViewHeight() ?>,
|
||||
|
||||
Reference in New Issue
Block a user