From d1879136a2e85f756a19a79fe86e10e22bac9b16 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 20 Apr 2023 17:09:50 +0100 Subject: [PATCH] Bug 33574: Correct pointer for restrict_type.code Somehow this was missed during QA of bug 31095.. likely during a rebase. Test plan: 1) Check that manual restriction types are now saved. Signed-off-by: Tomas Cohen Arazi --- .../prog/en/includes/patron-restrictions-tab.inc | 4 ++-- .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-restrictions-tab.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-restrictions-tab.inc index 4bedce39d1..1242dbf746 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-restrictions-tab.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-restrictions-tab.inc @@ -59,9 +59,9 @@ [% FOREACH restriction_type IN restriction_types %] [% IF !restriction_type.is_system %] [% IF restriction_type.is_default %] - + [% ELSE %] - + [% END %] [% END %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index cae5b6f2fa..bd4a9fa3fa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1467,9 +1467,9 @@ legend:hover { [% FOREACH restriction_type IN restriction_types %] [% IF !restriction_type.is_system %] [% IF restriction_type.is_default %] - + [% ELSE %] - + [% END %] [% END %] [% END %] -- 2.39.5