Bug 23403: Fix whitespace
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 23 Mar 2020 12:52:58 +0000 (08:52 -0400)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 15 May 2020 08:48:27 +0000 (09:48 +0100)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

C4/SIP/ILS/Transaction/Hold.pm

index c14a1c8..2bc1133 100644 (file)
@@ -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 . '".');