[Koha-bugs] [Bug 23403] SIP2 lends to wrong patron if cardnumber is missing
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed May 20 22:42:59 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23403
--- Comment #34 from Joy Nelson <joy at bywatersolutions.com> ---
First commit when cherry-picked gives this error:
<<<<<<< HEAD
51 syslog('LOG_DEBUG', "ILS::Transaction::Checkout performing
checkout...");
52 my $shelf = $self->{item}->hold_shelf;
53 my $barcode = $self->{item}->id;
54 my $patron_barcode = $self->{patron}->id;
55 my $overridden_duedate; # usually passed as undef to AddIssue
56 $debug and warn "do_checkout: patron (" . $patron_barcode . ")";
57 my $patron = Koha::Patrons->find( { cardnumber => $patron_barcode } );
58 my $borrower = $patron->unblessed;
59 $debug and warn "do_checkout borrower: . " . Dumper $borrower;
60 =======
61 siplog('LOG_DEBUG', "ILS::Transaction::Checkout performing
checkout...");
62 my $shelf = $self->{item}->hold_shelf;
63 my $barcode = $self->{item}->id;
64 my $patron =
Koha::Patrons->find($self->{patron}->{borrowernumber});
65 my $overridden_duedate; # usually passed as undef to AddIssue
66 $debug and warn "do_checkout borrower: . " . $patron->borrowernumber;
67 >>>>>>> 23dd6651f8... Bug 23403: Remove cardnumber from SIP
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list