summaryrefslogtreecommitdiffstats
path: root/template/en/default/config.js.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/config.js.tmpl')
-rw-r--r--template/en/default/config.js.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/config.js.tmpl b/template/en/default/config.js.tmpl
index 66617007d..0d6358312 100644
--- a/template/en/default/config.js.tmpl
+++ b/template/en/default/config.js.tmpl
@@ -61,7 +61,7 @@ var severity = [ [% FOREACH x = severity %]'[% x FILTER js %]', [% END %] ]
// =============
[% FOREACH cf = custom_fields %]
-var [% cf.name FILTER js %] = [ [% FOREACH x = cf.legal_values %]'[% x FILTER js %]', [% END %] ];
+var [% cf.name FILTER js %] = [ [% FOREACH x = cf.legal_values %]'[% x.name FILTER js %]', [% END %] ];
[% END %]