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:
parent
303a3c6a3c
commit
af99403672
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue