From 4188eb1c026502773a96be72f7ec78906b0b7b61 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 (cherry picked from commit d1879136a2e85f756a19a79fe86e10e22bac9b16) Signed-off-by: Matt Blenkinsop --- .../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 10a4a4d601..2013e80186 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