From 4df860f63876c156c7f3363896d44e6aa677806c Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 2 Nov 2023 12:33:52 -0400 Subject: [PATCH] Bug 25814: Tidy code Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- C4/SIP/ILS.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/C4/SIP/ILS.pm b/C4/SIP/ILS.pm index 8c9314e7ec..2184f13e1b 100644 --- a/C4/SIP/ILS.pm +++ b/C4/SIP/ILS.pm @@ -264,14 +264,14 @@ sub checkin { $patron->{items} = [ grep { $_ ne $item_id } @{ $patron->{items} } ]; my $message = ''; - if ($account->{show_checkin_message}) { + if ( $account->{show_checkin_message} ) { my $permanent_location; - if (C4::Context->preference("UseLocationAsAQInSIP")) { + if ( C4::Context->preference("UseLocationAsAQInSIP") ) { $permanent_location = $item->{'permanent_location'}; } else { - $permanent_location = Koha::Libraries->find($item->{permanent_location})->branchname; + $permanent_location = Koha::Libraries->find( $item->{permanent_location} )->branchname; } - $message .= "Item checked-in: " . $permanent_location . " - " . $item->{location} . "."; + $message .= "Item checked-in: $permanent_location - $item->{location}."; } # Check for overdue fines to display -- 2.39.5