From 89e7b83c579e99fbfd01b3573d1f5dbfa2e77758 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 13 Sep 2022 13:06:53 +0000 Subject: [PATCH] Bug 30802: (QA follow-up) Simplify a ternary Content-Type: text/plain; charset=utf-8 Signed-off-by: Marcel de Rooy --- circ/returns.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/returns.pl b/circ/returns.pl index f146325ec6..12e4d70b05 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -96,7 +96,7 @@ my $forgivemanualholdsexpire = $query->param('forgivemanualholdsexpire'); my $overduecharges = (C4::Context->preference('finesMode') && C4::Context->preference('finesMode') eq 'production'); #set up so only the last 8 returned items display (make for faster loading pages) -my $returned_counter = ( C4::Context->preference('numReturnedItemsToShow') ) ? C4::Context->preference('numReturnedItemsToShow') : 8; +my $returned_counter = C4::Context->preference('numReturnedItemsToShow') || 8; # Set up the item stack .... my %returneditems; -- 2.30.2