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:
parent
7e4296c419
commit
dbc4e4c63d
|
|
@ -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 . '".');
|
||||
|
|
|
|||
Loading…
Reference in New Issue