From 7c3ab46408ecbe2524d02624325d6e89b85a3cac Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 16 Dec 2021 09:35:21 -0500 Subject: [PATCH] fix missing quote --- web/skins/classic/views/js/watch.js.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/skins/classic/views/js/watch.js.php b/web/skins/classic/views/js/watch.js.php index d7b108b6d..36a0417de 100644 --- a/web/skins/classic/views/js/watch.js.php +++ b/web/skins/classic/views/js/watch.js.php @@ -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 = "";