From c115bc0087fe7edb59304fd7261d4a9157c2932e Mon Sep 17 00:00:00 2001 From: Paul Derscheid Date: Thu, 22 Aug 2024 08:40:31 +0000 Subject: [PATCH] Bug 34486: (QA follow-up) Tidy changes to opac/opac-detail.pl --- opac/opac-detail.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index 3d2da21763..59a7d5ec57 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -683,7 +683,7 @@ else { while ( my $item = $items->next ) { my $item_info = $item->unblessed; $item_info->{holds_count} = $item_reserves{ $item->itemnumber }; - if( $item_info->{holds_count} && $item_info->{holds_count} > 0 ){ $item_level_holds = 1; } + if ( $item_info->{holds_count} && $item_info->{holds_count} > 0 ) { $item_level_holds = 1; } $item_info->{priority} = $priority{ $item->itemnumber }; # Get opac_info from Additional contents for home and holding library @@ -725,7 +725,7 @@ else { $itemtypes->{ $itemtype->itemtype }->{translated_description}; $item_info->{checkout} = $item->checkout; - if( $item_info->{checkout} && $item_info->{checkout} > 0 ){ $item_checkouts = 1; } + if ( $item_info->{checkout} && $item_info->{checkout} > 0 ) { $item_checkouts = 1; } foreach my $field ( qw(ccode materials enumchron copynumber itemnotes location_description uri barcode itemcallnumber)) -- 2.46.0