diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt index 2c41652fb6..c29b3726b4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt @@ -211,6 +211,7 @@ var MSG_DUPLICATE_DISPLAY_TEXT = _("Restriction type label is already in use"); var existing = { [% FOREACH ex IN existing %] + [% NEXT IF ex.code == restriction.code %] [% ex.code | $raw %]: '[% ex.display_text | $raw %]', [% END %] };