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

(-)a/Koha/Patrons.pm (-2 / +4 lines)
Lines 195-201 sub anonymise_issue_history { Link Here
195
        }
195
        }
196
        );
196
        );
197
        my $anonymous_patron = C4::Context->preference('AnonymousPatron') || undef;
197
        my $anonymous_patron = C4::Context->preference('AnonymousPatron') || undef;
198
        $nb_rows += $old_issues_to_anonymise->update( { 'old_issues.borrowernumber' => $anonymous_patron } );
198
        $nb_rows += $old_issues_to_anonymise->update( {
199
            'old_issues.borrowernumber' => $anonymous_patron,
200
            'old_issues.issuer'         => $anonymous_patron
201
        } );
199
    }
202
    }
200
    return $nb_rows;
203
    return $nb_rows;
201
}
204
}
202
- 

Return to bug 23916