Bug 19613: Use the 'note' profile
WNC amended patch: tidied
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 3cb586b72165bcbd029948f46407359be9d5e9a8)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 55931114b6)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
This commit is contained in:
parent
0ca134a191
commit
ec8a19629d
|
|
@ -220,9 +220,9 @@ sub store {
|
|||
if defined $self->relationship
|
||||
and $self->relationship eq "";
|
||||
|
||||
for my $note_field ( qw( borrowernotes opacnote ) ) {
|
||||
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 ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue