View | Details | Raw Unified | Return to bug 19613
Collapse All | Expand All

(-)a/Koha/Patron.pm (-3 / +2 lines)
Lines 232-240 sub store { Link Here
232
                if defined $self->relationship
232
                if defined $self->relationship
233
                and $self->relationship eq "";
233
                and $self->relationship eq "";
234
234
235
            for my $note_field ( qw( borrowernotes opacnote ) ) {
235
            for my $note_field (qw( borrowernotes opacnote )) {
236
                if ( !$self->in_storage || $self->_result->is_column_changed($note_field) ) {
236
                if ( !$self->in_storage || $self->_result->is_column_changed($note_field) ) {
237
                    $self->$note_field(C4::Scrubber->new('comment')->scrub($self->$note_field));
237
                    $self->$note_field( C4::Scrubber->new('note')->scrub( $self->$note_field ) );
238
                }
238
                }
239
            }
239
            }
240
240
241
- 

Return to bug 19613