From 17b2a3762f4d0b6dbe2a6c76d140a316aa20a345 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 20 Mar 2024 08:35:29 +0100 Subject: [PATCH] Bug 19613: Use the 'note' profile Signed-off-by: David Cook --- Koha/Patron.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index 97e5380fb7c..8600fefbf05 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -234,7 +234,7 @@ sub store { for my $note_field ( qw( borrowernotes opacnote ) ) { if ( !$self->in_storage || $self->_result->is_column_changed($note_field) ) { - $self->$note_field(C4::Scrubber->new('comment')->scrub($self->$note_field)); + $self->$note_field(C4::Scrubber->new('note')->scrub($self->$note_field)); } } -- 2.30.2