Bug 38944: Remove warning from Patron/Borrower_Debarments.

#     Use of uninitialized value $anonymous_patron in string eq at /kohadevbox/koha/Koha/Patron.pm line 737.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2025-03-13 14:27:24 +01:00 committed by Katrin Fischer
parent 303a3c6a3c
commit af99403672
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 1 deletions

View File

@ -734,7 +734,7 @@ sub merge_with {
sub {
foreach my $patron_id (@patron_ids) {
next if $patron_id eq $anonymous_patron;
next if $anonymous_patron && $patron_id eq $anonymous_patron;
my $patron = Koha::Patrons->find($patron_id);