fix missing quote

This commit is contained in:
Isaac Connor 2021-12-16 09:35:21 -05:00
parent d10d5201ac
commit 7c3ab46408
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ var labels = new Array();
$labels = array();
foreach (dbFetchAll('SELECT * FROM ControlPresets WHERE MonitorId = ?', NULL, array($monitor->Id())) as $row) {
$label = $labels[$row['Preset']] = $row['Label'];
echo 'labels['. validInt($index) .'] = '.validJsStr($label).'\'';
echo 'labels['. validInt($index) .'] = \''.validJsStr($label).'\'';
}
?>
var deleteString = "<?php echo translate('Delete') ?>";