From 5e28ce2244e95959eff920feb77e3cb1bbfc9451 Mon Sep 17 00:00:00 2001 From: jeremy breuillard Date: Thu, 17 Mar 2022 09:12:54 +0100 Subject: [PATCH] Bug 27123: Add filter + translate comment --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt | 2 +- tools/modborrowers.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt index 9af64ec41f..df3e691856 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt @@ -262,7 +262,7 @@ [% borrower.opacnote | html %] [% FOREACH patron_message IN borrower.patron_messages %] - [% patron_message.message %]
+ [% patron_message.message | html %]
[% IF (patron_message.message_type == 'B') %] ( OPAC ) diff --git a/tools/modborrowers.pl b/tools/modborrowers.pl index f9140e6edf..194b2334d8 100755 --- a/tools/modborrowers.pl +++ b/tools/modborrowers.pl @@ -439,7 +439,7 @@ if ( $op eq 'do' ) { } $i++; } - # Créer un bloc pour enregistrer en bdd l'update de la table patron_messages + sécurité : 'si' tel champ est remplit alors.... etc + # Create a block to save in database the patron_messages update + security slice : "if" this field is filled-up then...etc my $patron_messages = Koha::Patron::Messages->search( { 'me.borrowernumber' => $patron->borrowernumber, -- 2.17.1