diff options
-rw-r--r-- | templates/web/base/admin/extra-metadata-form.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/admin/extra-metadata-form.html b/templates/web/base/admin/extra-metadata-form.html index d621a7d79..a68d619cf 100644 --- a/templates/web/base/admin/extra-metadata-form.html +++ b/templates/web/base/admin/extra-metadata-form.html @@ -69,7 +69,7 @@ [% loc('Options') %]<span class="hidden-js"> [% loc('(ignored if type is "String")') %]</span> <ul> [% outer_loop = loop %] - [% values = meta.values OR [] %] + [% SET values = meta.item('values') ? meta.values : [] %] [% FOREACH option IN values.merge([{}]) %] [%# the .merge() call is so there's an empty one on the end %] <li class="js-metadata-option [% IF loop.last %]hidden-js js-metadata-option-template[% END %]"> |