Bug 23403: Fix whitespace

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
This commit is contained in:
Kyle M Hall 2020-03-23 08:52:58 -04:00 committed by Joy Nelson
parent 7e4296c419
commit dbc4e4c63d
1 changed files with 8 additions and 8 deletions

View File

@ -73,10 +73,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 });
@ -93,10 +93,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 . '".');