Bugzilla – Attachment 101445 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.58 KB, created by
Kyle M Hall (khall)
on 2020-03-23 12:58:48 UTC
(
hide
)
Description:
Bug 23403: Fix whitespace
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2020-03-23 12:58:48 UTC
Size:
1.58 KB
patch
obsolete
>From 486606f2b31147f8bc7afaa5afafacdd069bf106 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 > >--- > 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 0d80bf8e3c..1f9430db18 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.21.1 (Apple Git-122.3)
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