Bugzilla – Attachment 104761 Details for
Bug 23403
SIP2 lends to wrong patron if cardnumber is missing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23403: Fix whitespace
Bug-23403-Fix-whitespace.patch (text/plain), 1.68 KB, created by
Nick Clemens (kidclamp)
on 2020-05-12 11:52:31 UTC
(
hide
)
Description:
Bug 23403: Fix whitespace
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-05-12 11:52:31 UTC
Size:
1.68 KB
patch
obsolete
>From 70b90e55fd9a04d6e8d787f913942d131755dbf1 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 23 Mar 2020 08:52:58 -0400 >Subject: [PATCH] Bug 23403: Fix whitespace > >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > C4/SIP/ILS/Transaction/Hold.pm | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > >diff --git a/C4/SIP/ILS/Transaction/Hold.pm b/C4/SIP/ILS/Transaction/Hold.pm >index c14a1c8b4e..2bc1133e8d 100644 >--- a/C4/SIP/ILS/Transaction/Hold.pm >+++ b/C4/SIP/ILS/Transaction/Hold.pm >@@ -80,10 +80,10 @@ sub drop_hold { > my $self = shift; > my $patron = Koha::Patrons->find( $self->{patron}->borrowernumber ); > unless ($patron) { >- $self->screen_msg('drop_hold called with undefined patron'); >- $self->ok(0); >- return $self; >- } >+ $self->screen_msg('drop_hold called with undefined patron'); >+ $self->ok(0); >+ return $self; >+ } > > my $item = Koha::Items->find({ barcode => $self->{item}->id }); > my $holds = $item->holds->search({ borrowernumber => $patron->borrowernumber }); >@@ -100,10 +100,10 @@ sub change_hold { > my $self = shift; > my $patron = Koha::Patrons->find( $self->{patron}->borrowernumber ); > unless ($patron) { >- $self->screen_msg('change_hold called with undefined patron'); >- $self->ok(0); >- return $self; >- } >+ $self->screen_msg('change_hold called with undefined patron'); >+ $self->ok(0); >+ return $self; >+ } > my $item = Koha::Items->find({ barcode => $self->{item}->id }); > unless ($item) { > $self->screen_msg('No biblio record matches barcode "' . $self->{item}->id . '".'); >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23403
:
95703
|
96404
|
101303
|
101304
|
101445
|
101456
|
102859
|
104313
|
104314
|
104315
|
104316
|
104760
| 104761 |
104762
|
104763