diff options
| -rw-r--r-- | templates/mod/config-editor.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/mod/config-editor.html b/templates/mod/config-editor.html index 411d55e6..ebf4202b 100644 --- a/templates/mod/config-editor.html +++ b/templates/mod/config-editor.html @@ -23,7 +23,7 @@ <th>{% trans 'Description' %}</th> </tr> {% for var in conf if var.type != 'array' %} - {% if var.name|count == 1 %} + {% if var.name and var.name|length == 1 %} {% set name = 'cf_' ~ var.name %} {% else %} {% set name = 'cf_' ~ var.name|join('/') %} @@ -31,7 +31,7 @@ <tr> <th class="minimal"> - {% if var.name|count == 1 %} + {% if var.name and var.name|length == 1 %} {{ var.name }} {% else %} {{ var.name|join(' → ') }} |
