From 2d0204b10d7d8c9a9dc6d65d761fc19e8401f4e3 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 23 Mar 2020 08:52:58 -0400 Subject: [PATCH] Bug 23403: Fix whitespace Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Nick Clemens Signed-off-by: Joy Nelson (cherry picked from commit dbc4e4c63d83beed132a4d9b20ef47b2327f4f67) Signed-off-by: Victor Grousset/tuxayo --- C4/SIP/ILS/Transaction/Hold.pm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/C4/SIP/ILS/Transaction/Hold.pm b/C4/SIP/ILS/Transaction/Hold.pm index d7b0705a38..c8b64c7527 100644 --- a/C4/SIP/ILS/Transaction/Hold.pm +++ b/C4/SIP/ILS/Transaction/Hold.pm @@ -72,10 +72,11 @@ 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 = Koha::Holds->search( @@ -97,10 +98,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.39.5