From 0f75bffeeb7d6518a707dc800e7d12091946706b Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Tue, 5 Nov 2019 09:52:59 +0100 Subject: [PATCH] Bug 23968: fix OPACMySummaryNote feature The system preference OPACMySummaryNote is used to display on the logged-in patron summary page at OPAC. It does not display anymore. Looks like it comes from code : [% IF OPACMySummaryNote %][% Koha.Preference('OPACMySummaryNote') | $raw %][% END %] OPACMySummaryNote used to be a provided variable. Test plan: 1) Enable system preference OPACMySummaryNote 2) Enter some HTML into it 3) Go to OPAC and loggin 4) Check you see the HTML in opac-user.pl 5) Disable the preference 6) Check you dont see the HTML anymore Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize (cherry picked from commit d5c501bf63f9d42bc9d872eef391c0864753c8ba) Signed-off-by: Lucas Gass --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index 03847ace50..13f0ec01a1 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -141,7 +141,9 @@ - [% IF OPACMySummaryNote %][% Koha.Preference('OPACMySummaryNote') | $raw %][% END %] + [% IF Koha.Preference('OPACMySummaryNote') %] + [% Koha.Preference('OPACMySummaryNote') | $raw %] + [% END %]
    -- 2.39.5