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

(-)a/Koha/PseudonymizedTransaction.pm (-2 / +1 lines)
Lines 98-104 sub create_from_statistic { Link Here
98
98
99
    $self->store();
99
    $self->store();
100
100
101
    if ($patron) {
101
    if ( $patron && Koha::Patron::Attribute::Types->search( { keep_for_pseudonymization => 1 } )->count > 0 ) {
102
        my $extended_attributes = $patron->extended_attributes->unblessed;
102
        my $extended_attributes = $patron->extended_attributes->unblessed;
103
        for my $attribute (@$extended_attributes) {
103
        for my $attribute (@$extended_attributes) {
104
            next unless Koha::Patron::Attribute::Types->find( $attribute->{code} )->keep_for_pseudonymization;
104
            next unless Koha::Patron::Attribute::Types->find( $attribute->{code} )->keep_for_pseudonymization;
105
- 

Return to bug 39322