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

(-)a/Koha/Patrons.pm (-2 / +1 lines)
Lines 215-221 sub anonymise_issue_history { Link Here
215
215
216
        my $anonymous_patron = C4::Context->preference('AnonymousPatron') || undef;
216
        my $anonymous_patron = C4::Context->preference('AnonymousPatron') || undef;
217
        $nb_rows += $old_issues_to_anonymise->update( { 'old_issues.borrowernumber' => $anonymous_patron } );
217
        $nb_rows += $old_issues_to_anonymise->update( { 'old_issues.borrowernumber' => $anonymous_patron } );
218
        $nb_rows += $last_borrowers_to_anonymise->update( { 'items_last_borrower.borrowernumber' => $anonymous_patron } );
218
        $last_borrowers_to_anonymise->update( { 'items_last_borrower.borrowernumber' => $anonymous_patron } );
219
    }
219
    }
220
    return $nb_rows;
220
    return $nb_rows;
221
}
221
}
222
- 

Return to bug 23260